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 constructors in subclass?

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  How implement inheritance in Java explain with code?

Leave a Reply

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