What is the use of child classes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of child classes?

15th Aug 2016, 10:32 PM
Erioluwa Soyemi
2 Answers
+ 5
Child class is another name for derived class. And the base class is also known as the parent class. It's called inheritance. If you want to know more about inheritance read the course.
16th Aug 2016, 2:27 PM
Alireza M
Alireza M - avatar
- 2
child classes are for doing something in a certain order, child are the last ones to be executed. for example if you wanted to make an error output, first the error shows up an then weathered else you have
16th Aug 2016, 3:51 AM
DigoRevolution Pt
DigoRevolution Pt - avatar