6. Inheritance

6.
Inheritance

Basic inheritance concept

Relationships
o
Is-a relationship
o
Part of and has-a relationship
o
Uses-a relationship

Object class (explain that all classes either directly or indirect inherits Object class)

Access levels (private,public,package/default,protected)

Array of sub classes

Generalization and specialization (summarization of OOP)

No comments:

Post a Comment