Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (6.5k points)
What is a parent class in JAVA?

1 Answer

0 votes
by (11.3k points)
edited by

A parent class is usually with respect to one or multiple child classes.  A parent class can act as a base class with some base properties and child classes act as offsprings of those base classes. The parents provide some base properties via member functions and variables. 

The aim of using this is to reduce the requirement to redundantly code a new module of a program when the base skeleton of that module already exists. This reduces cost and time requirements in development phases.To know more about these basic properties of JAVA, you should start from scratch and get some of your basics cleared up, you can refer to this video:

Related questions

0 votes
1 answer
0 votes
1 answer
asked Mar 6, 2021 in Java by Jake (7k points)
0 votes
1 answer
asked Mar 10, 2020 in Java by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Jan 15, 2020 in Java by angadmishra (6.5k points)

Browse Categories

...