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