Purpose of the keyword super in programs


Question1. Distinguish between the following Object-Oriented concepts using appropriate examples:-

i) No-argument constructor v/s overloaded constructor

ii) Public v/s private

iii) Concrete class v/s abstract class

iv) Single inheritance v/s multiple inheritance

v) Sub-classing v/s polymorphism

vi) Encapsulation v/s abstraction

Question2. Describe the purpose of the keyword 'super' in programs.

Question3. Describe how it is used in object-oriented programs using appropriate examples.

Question4. Discuss how the components listed below should be registered in a program:-

i) JButton

ii) JComboBox

Question5. Elucidate how a 'JTextField' component can respond to a user devoid of the use of button. Indicate clearly all the essential steps to be performed in your answer.

Question6. What is Java adapter class?

Question7. What is the purpose of an adapter class when employed in a program? Use a appropriate example to demonstrate your answer.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Purpose of the keyword super in programs
Reference No:- TGS05884

Expected delivery within 24 Hours