Curated and Reviewed by
Lesson Planet
This Object Inheritance instructional video also includes:
There is an easier way to share functions among objects. The fifth section of a series of six on object-oriented design introduces the concept of object inheritance. The coding helps pupils create a base object type that has all the aspects that are shared by other objects. The procedure allows for sweeping changes to objects to be made in one location.
3 Views
0 Downloads
Concepts
Instructional Ideas
- Print off the entire code so the class can see it all
- Have class members keep a notebook with the different functions and object codes
Classroom Considerations
- Individuals should be able to create objects with constructor functions
Pros
- Presenter highlights the portion of code that is being referenced
- Includes a non-coding example of what inheritance means
Cons
- None