Primitive Datatype 2

Java Primitive Datatype – 2 Quiz

0
Created on By wefru

Primitive Datatype 2

TEST YOUR  SKILLS

1 / 10

What is the size in bits for an 'int' variable.

2 / 10

Modulus operator, %, can be applied to which of these?

3 / 10

Decrement operator, −−, decreases the value of variable by what number?

4 / 10

Which of these operators can skip evaluating right hand operand?

5 / 10

Which of these have highest precedence?

6 / 10

What is the valid data type for variable “a” to print “Hello World”?

switch(a)

{

System.out.println("Hello world");

}

 

7 / 10

Which of the following is not a decision making statement?

8 / 10

Which of the following is not a valid jump statement?

9 / 10

From where break statement causes an exit?

10 / 10

Which of the following is not a valid flow control statement?

Your score is

The average score is 0%

0%

Leave a Reply

Your email address will not be published.