Java Practice Tests – 1

1. 
Java Practice Tests
What does the super keyword do in Java?

2. 
Java Practice Tests
What is the purpose of the transient keyword in Java?

3. 
Java Practice Tests
Which statement about the final keyword is accurate?

4. 
Java Practice Tests
What does the synchronized keyword do in Java?

5. 
Java Practice Tests
Which of the following is not a valid access modifier for methods in Java?

6. 
Java Practice Tests
How do == and equals() differ in Java?

7. 
Java Practice Tests
Which of these statements is true about Java interfaces?

8. 
Java Practice Tests
What does the default keyword do in Java interfaces?

9. 
Java Practice Tests
What function does the volatile keyword serve in Java?

10. 
Java Practice Tests
Which statement about Java exception handling is correct?