Welcome to your JAVA Quiz
1.
Which of the following is not a primitive data type in Java?
2.
Which keyword is used to inherit a class in Java?
3.
What is the size of an int variable in Java?
4.
Which keyword is used to define a class in Java?
5.
Which exception is thrown when a division by zero is attempted in Java?
6.
Which of the following is a valid declaration of an array in Java?
7.
Which of the following is not a valid Java identifier?
8.
Which method must be implemented by all threads in Java?
9.
What is the default value of a boolean variable in Java?
10.
What is the purpose of the 'final' keyword in Java?