Nested class in java


 

Nested class in java

Click on following link to know all about nested class and inheritance in java

Click on following link to know all about nested class and inheritance in java

As the name suggests, inheritance means to take something that is already made. It is one of the most important feature of Object Oriented Programming. It is the concept that is used for reusability purpose. Inheritance is the mechanism through which we can derived classes from other classes. The derived class is called as child class or the subclass or we can say the extended class and the class from which we are deriving the subclass is called the base class or the parent class. To derive a class in java the keyword extends is used.

For more details click on the following link.

Nested class and inheritance in java

Ads