Java Quiz (Set 1)

Java Quiz (Set 1)

1 / 10

What is the size of byte variable?

2 / 10

What of the following is the default value of an instance variable?

3 / 10

What of the following is the default value of a local variable?

4 / 10

Can we compare int variable with a boolean variable?

5 / 10

Static functions can be accessed using null reference.

6 / 10

Objects are stored on Stack.

7 / 10

Primitive variables are stored on Stack.

8 / 10

What is a class in java?

9 / 10

Which of the following is not a keyword in java?

10 / 10

What is correct syntax for main method of a java class?

Your score is

The average score is 0%

0%