Lecture 13 Objectives [Nov 14]prev
next
MUSICAL COMPOSITION:
Nessun Dorma,
Turandot (Giacomo
Puccini)
At the end of today's class you should
HAVE READ:
KNOW:
- the concept of a base class
- the concept of a derived class
- the concept of inheritance, as it applies to both data
and methods
- how overriding is different from overloading
BE ABLE TO:
- extend a base class to create a derived class
- override default base class behavior within a derived
subclass
- write instance methods for a derived class that take
advantage of inherited instance variables
DAILY QUESTION:
- NONE! I didn't get this ready in time.
Sample Exam Questions:
- Given a base class