What is base class and child class in Java?

The class which inherits the properties of other is known as child class (derived class, sub class) and the class whose properties are inherited is known as parent class (base class, superclass class).

Sizin İçin Seçtik  CAN interface have inner class with constructor?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is base class and child class in Java?

The class which inherits the properties of other is known as child class (derived class, sub class) and the class whose properties are inherited is known as parent class (base class, superclass class).

Sizin İçin Seçtik  What is the use of nested class in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *