Welcome to your JAVA Quiz
1. What is the size of an int variable 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. Which of the following is a valid declaration of an array in Java?
5. Which method must be implemented by all threads in Java?
6. Which of the following is not a primitive data type in Java?
7. Which keyword is used to inherit a class in Java?
8. What is the purpose of the 'final' keyword in Java?
9. What is the default value of a boolean variable in Java?
10. Which of the following is not a valid Java identifier?