Java MCQ Quiz Hub

Java Mcq Question Set 4

Choose a topic to test your knowledge and improve your Java skills

1. Which of these keywords must be used to handle the exception thrown by try block in some rational manner?




2. Which of these keywords is used to manually throw an exception?




3. Which of these is a super class of all exceptional type classes?




4. Which of these class is related to all the exceptions that can be caught by using catch?




5. Which of these class is related to all the exceptions that cannot be caught?




6. Which of these handles the exception when no catch is used?




7. Which of these keywords is used to generate an exception explicitly?




8. Which of these class is related to all the exceptions that are explicitly thrown?




9. Which of these operator is used to generate an instance of an exception than can be thrown by using throw?




10. Which of these keywords is used to by the calling function to guard against the exception that is thrown by called function?




11. Which of these keywords is used to define interfaces in Java?




12. Which of these can be used to fully abstract a class from its implementation?




13. Which of these access specifiers can be used for an interface?




14. Which of these keywords is used by a class to use an interface defined previously?




15. Which of the following is correct way of implementing an interface salary by class manager?




16. Which of the following is incorrect statement about packages?




17. Which of the following package stores all the standard java classes?




18. Which of these classes is not included in java.lang?




19. Which of these is a process of converting a simple data type into a class?




20. Which of these is a super class of wrappers Double & Integer?