Question 58Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 2 + 1 more paper

What is the term for creating a new class that inherits properties and behaviors from an existing class?

  1. APolymorphism
  2. BEncapsulation
  3. CAbstraction
  4. DDerivation
Show answerHide answer

Correct answer: (D) Derivation

Explanation

Creating a new class from an existing one is derivation (inheritance); the new class is a derived class or subclass.

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2

This is question 58 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2. 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.

Asked in 2 papers