Question: what is the difference between child class and parent class?
Answer: 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). ... Where Sample is the parent class and the class named MyClass is the child class.