Java Quiz (Set 2)

Java Quiz (Set 2)

1 / 10

Can we have two public classes in one java file?

2 / 10

Can we have multiple classes in same java file?

3 / 10

Is an empty .java file a valid source file?

4 / 10

What is the size of boolean variable?

5 / 10

What is the size of char variable?

6 / 10

What is the size of double variable?

7 / 10

What is the size of float variable?

8 / 10

What is the size of long variable?

9 / 10

What is the size of int variable?

10 / 10

What is the size of short variable?

Your score is

The average score is 0%

0%