CIS 163 AA - Java Programming I - Section 5811
Worksheet #7
Due Monday, November 28, 2005
Name:
I. Definitions: please explain the following terms:
- inheritance
- override a method
- abstract class
- adapter class
- AWT
- JTextField
- Timer class
- class hierarchy
- extends
II. Question or short essay
- What is the purpose of inheritance in Java?
- Describe the relationship between a parent class and a child class.
- What is the purpose of the protected modifier?
- What is the purpose of the super reference?
- What is the significance of the Object class?
- 6. What are some important methods of the Object class that are inherited by all objects?
- How does inheritance support software reuse?
- What is the effect of using final as a modifier on a method?