"Object-Oriented Programming in Unity" was retired on August 1, 2018.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Java Data Structures!
You have completed Java Data Structures!
All objects we create in Java inherit from a base class named Object. That class provides methods you should know about. Let's explore inheritance and overriding.
Resources
Definitions
- A class that is derived from another class is called a subclass (also a derived, extended, or child class).
- The class from which the subclass is derived is called a superclass (also a base or a parent class).
- Polymorphism - The dictionary definition of polymorphism refers to a principle in biology in which an organism or species can have many different forms or stages. This principle can also be applied to object-oriented programming and languages like the Java language. Subclasses of a class can define their own unique behaviors and yet share some of the same functionality of the parent class.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up