Unit 2-07
Learning Outcome
At the end of this lesson, you will be able to:
- understand inheritance and how to use it correctly
Silent Watching
- watch this video
Review
- review "Encapsulation" & "Constructors"
Lesson
- go over "Using OOP", Chapter 9
- Computer Based Problem Solving
- read "Inheritance"
Activity
- null
Daily Assignment
- use the "Vehicle" class from before
- create 2 new classes that inherit from "Vehicle Class"
- Truck
- Bike
- change your stub program to create 2 objects, 1 truck and 1 bike
- create 2 new classes that inherit from "Vehicle Class"
Object-Oriented Analysis & Design
- read over and do Lesson 4 (answers from yesterday)
Extra
- work on weekly assignment