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