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