Single or Simple Inheritance in Java | Core Java Tutorials

This Core Java Tutorials “Single or Simple Inheritance in Java” post is providing clear information about how java class extending java.lang.Object class and how to access parent functionality from child class.


Single Inheritance:

  • Every java class is the Child class of Object class.
  • Object class is belongs to ‘java.lang’ package.
  • Every user Object gets behavior of pre-defined Object.
  • Every Java-class in the application follows ‘Single Inheritance’.
  • We always create object for Child class in ‘Is-A’ relation.
  • In inheritance, we access Parent functionality through Child object.


Single Inheritance in Java

Share this