We are searching data for your request:

Forums and discussions:
Manuals and reference books:
Data from registers:
Wait the end of the search in all databases.
Upon completion, a link will appear to access the found materials.


A superclass is a class that has been extended by another class. It allows the extending class to inherit its state and behaviors.

Also Known As: base class, parent class


Imagine you define a Person class:

public class Person { }

A new class can be created by extending this class:

public class Employee extends Person { }

The Person class is said to be the superclass of the Employee class.