CIS 163 AA - Java Programming I - Section 5811
Worksheet #7
Due Monday, November 28, 2005

Name:

I. Definitions: please explain the following terms:

  1. inheritance

  2. override a method

  3. abstract class

  4. adapter class

  5. AWT

  6. JTextField

  7. Timer class

  8. class hierarchy

  9. extends

II. Question or short essay

  1. What is the purpose of inheritance in Java?

  2. Describe the relationship between a parent class and a child class.

  3. What is the purpose of the protected modifier?

  4. What is the purpose of the super reference?

  5. What is the significance of the Object class?

  6. 6. What are some important methods of the Object class that are inherited by all objects?

  7. How does inheritance support software reuse?

  8. What is the effect of using final as a modifier on a method?