Unit-3 Oops
Unit-3 Oops
PART-A
1. Define Exception. Dec 2011, Apr 2012, Nov 2019, Apr 2022
2. What are the reason for exception? Why to handle exceptions? Apr 2024
3. Define exception handling.
4. What are the exception hierarchies?
5. Define Errors?
6. What are the Advantage of using Exceptions:
7. What is compile time and run time error?
8. What are java exception keywords?
9. Define try block.
10. What are the possible forms of try block?
11. Define catch block.
12. Define multiple catch statement.
13. Define nested try statements.
14. Define Throw.
15. Define Throws.
16. Write the difference between throw and throws.
17. Define finally statement.
18. What is the Use of finally block in Java?
19. Does finally block get executed If either try or catch blocks are returning the control?
20. Define built-in exception.
21. Define Checked Exceptions.
22. Define Unchecked Exceptions.
23.Define ArithmeticException. Nov 2022
24. Define NullPointerException.
25. Define ArrayIndexOutOfBoundsException.
26. Define NumberFormatException
27. Define StringIndexOutOfBoundsException.
28.Compare checked and unchecked exception. Outline the difference between checked and
unchecked exception. Nov 2023
29. Define custom or own exception in java.
30. Define chained exception.
31. Define Thread.
32. Define process.
33.Define Multithreading. What is ThreadPool. Nov 2022
34. Define Multitasking.
35. Define life cycle of thread.
36. Define Thread Model.
37. List the constructor thread class.
38. Define Thread class.
39. Define Runnable Interface.
40. Define synchronization in java.
41. Define Mutual Exclusive.
42. Discuss Concept of Lock in Java.
PART-B
1. Discuss about try, catch and finally keywords in exception handling with an example. What
is java exception? How java exception handling is managed? Outline. Nov 2023
2. Outline java checked exception defined in java.lang.package. Nov 2023
3. Explain in detail about java’s built in exception. Explain any three exceptions. Apr 2023
4. Discuss about use defined exceptions in java. Give suitable example. Apr 2024
5. Present the outline of java multithreading system? Nov 2023
6. Explain in detail about the methods to create threads in java.Apr 2023
Outline two ways to create a thread. Nov 2023
7. How thread synchronization is managed in java? Write sample code.
8. List and Explain Data types and their corresponding wrapper
class.Nov22