Loading video...
QuickNotes™ 
Inheritance
Inheritance is a way of using an existing class and improving it to do more. This means having access to all public and protected elements of the existing class directly. Only private elements are not accessible.
Java uses class hierarchy and inheritance throughout the system library.
A class called Object is the root of all classes in Java and every class in Java automatically inherits from Object.
Keyword Super is used to get access to the original class members.
Discussion 
Please login to ask a question and view discussion.













