Question 57Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021

In Object Oriented Programming, when a new class created from an existing class using principle of inheritance, then the new class is known as ________.

  1. ANew class
  2. BChild class
  3. CMember class
  4. DDerived class
Show answerHide answer

Correct answer: (D) Derived class

Explanation

A class created from an existing class by inheritance is called a derived class (subclass). The existing class is the base class.

From DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

This is question 57 of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.