#30 Inheritance

preview_player
Показать описание
In this lesson we will review the object oriented principle for inheritance.

TIMESTAMPS:
0:50 Visual example
1:24 Follow rules of encapsulation
2:15 Child class accessibility
2:41 Code reuse
4:02 Method overriding
4:57 Instantiate parent class
6:07 Code example
6:32 Parent property example
7:26 Child property example
8:23 Parent method example
8:55 Child method example
9:26 Parent class
9:58 Child class
12:32 Code summary

TERMS:
Inheritance: Inheritance is the mechanism by which an object acquires some or all properties and methods of another object.

Superclass:
The class being inherited from. It is often referred to as the parent class or base class.

Subclass:
The class that inherits from another class. It is often referred to as the child class or the derived class.

COACH JOE MISSION:
This Coach Joe video series is an introduction to the object oriented programming (OOP) principles for java. Lesson tutorials are broken down into visual descriptions, code syntax and examples. With emphasis on following preferred standard coding rules along with following the concepts of test driven development (TDD) and unit testing. Many lesson topics apply to other languages like C#, Python, Typescript and Kotlin. Here are a list of topics included in this series that will help with your learning and education process:

Object Oriented Programming (OOP) Intro
Encapsulation
Inheritance
Abstract class
Interface
Abstraction
Polymorphism - Override
Polymorphism - Overload
Polymorphism - Object reference
Object Oriented Programming (OOP) Summary

This series will touch upon JDK, SDK, Maven and Gradle but will not go into any specific details. You have several IDE options like IntelliJ, Eclipse, STS and many more.
Рекомендации по теме
join shbcf.ru