Primitive Datatype 1

Java Primitive Datatype – 1 Quiz

0
Created on By wefru

Primitive Datatype 1

TEST YOUR  SKILLS

1 / 10

The while loop repeats a set of code while the condition is not met?

2 / 10

Which of the following is used with the switch statement?

3 / 10

What will be the output of the following program

class Test {
public
    static void main(String[] args)
    {
        int i = 0, j = 9;
        do {
            i++;
            if (j-- < i++) {
                break;
            }
        } while (i < 5);
        System.out.println(i + "" + j);
    }
}

4 / 10

can 8 byte long data type be automatically type cast 4 byte float data type?

5 / 10

Which of the following is smallest integer data type ?

6 / 10

Which of the following data types comes under floating data types ?

7 / 10

Range of Byte Data Type is ____________.

8 / 10

Short data type has a minimum value of _____________.

9 / 10

What does a Data Type in Java refers to?

10 / 10

Which is not a integer data type?

Your score is

The average score is 0%

0%

Leave a Reply