PCA25C01J · Cycle Test 2
Covers units 3 & 4: Inheritance and Exception Handling / Thread and Utility Classes
Answer Any 4 Questions
Discuss Method Overriding with an example program.
Can Java support multiple inheritance? Justify your answer.
Define abstract class with suitable example program.
Define Thread and how do you assign priorities to thread.
Discuss Synchronization with an example program.
What do you understand about Enumeration interface. Illustrate with example program.
Answer all the Questions
Explain Multilevel and Hierarchical inheritance in Java with suitable programs.
Explain the concept of Exception Handling. Implement Java programs to demonstrate Arithmetic Exception and Number Format Exception.
Explain in detail life cycle of a thread, process of creating threads with suitable program.
Elaborate Vector class in Java with implementation program.