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 are multiple inheritance in Java?

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  Which is correct way to use inheritance in Java?

Leave a Reply

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