Question1. Describe the following OO concepts using suitable java code extracts:-
(a) Encapsulation
(b) Inner class
(c) Polymorphism
(d) Constructor chaining
(e) Sub-classing
Question2. Describe the java event handling mechanism using a suitable GUI component. Your answer should include java code extracts to support the explanations.
Question3. Describe the concept of 'java listener' using the example of mouse listener. Use java code extracts to support your solution.
Question4. Illustrate the concept of 'java adapter classes' using a suitable example. Your answer must include the necessary java code extracts.