1. Define object, class, instance and inheritance. (6M)
2. Consider Java program above and answer the following questions.
Java Code 1 |
2.1 Identify the superclass and subclass (4M)
2.2 Explain Generalization and Specialization. Use Java program above to support your explanation. (5M)
No comments:
Post a Comment