Mind map
Inheritance
Map content
Inheritance
(Parent, Super) Class
- Abstract
- An Abstract Class is a class that cannot be instantiated as an object. This type of class does not require an abstract method; however, if an abstract method is located within a class, the class must be abstract.
- Private
- A private method is where the class cannot be instantiated as an object, and subclasses can not be established from this class.
- Public
- A public method is where the class can be instantiated as an object and all the methods within the class are inherited.
- Protected
- A private method is where the class cannot be instantiated as an object; however, all public subclasses can be instantiated, and the subclasses still inherit the parent’s methods.
- OverLoading
- Method Overloading is when a method contains the same method name; however, the method header is different from the method in the class or parent class.
- Abstract
(Child, Sub) Class
- Abstract
- An Abstract Class is a class that cannot be instantiated as an object. This type of class does not require an abstract method; however, if an abstract method is located within a class, the class must be abstract.
- Private
- A private method is where the class cannot be instantiated as an object, and subclasses can not be established from this class.
- Public
- A public method is where the class can be instantiated as an object and all the methods within the class are inherited.
- Protected
- A private method is where the class cannot be instantiated as an object; however, all public subclasses can be instantiated, and the subclasses still inherit the parent’s methods.
- Super
- KeyWord used to call the superclass version of a method or field.
- Overloading
- Method Overloading is when a method contains the same method name; however, the method header is different from the method in the class or parent class.
- Overriding
- Method Overriding is when a method established in the parent class is changed or altered in the subclass, while maintaining the same method header.
- Abstract
Information
- Description
- Mind Map on Inheritance, created by MARSHALL S on 21/11/2019.
- Created by
- MARSHALL S
- Views
- 0
- Rating