Given below are two statements: one is labelled as Assertion A and the other…

2026

Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.

Assertion A: We can build an object from a class containing a pure virtual function.

Reason R: A class containing a pure virtual function is called an abstract class.

In the light of the above statements, choose the most appropriate answer from the options given below:

  1. A.

    Both A and R are correct and R is the correct explanation of A

  2. B.

    Both A and R are correct but R is NOT the correct explanation of A

  3. C.

    A is correct but R is not correct

  4. D.

    A is not correct but R is correct

Attempted by 99 students.

Show answer & explanation

Correct answer: D

A class with a pure virtual function is abstract and cannot be instantiated, making Assertion A false. Reason R correctly states that such a class is an abstract class, so it is true. Therefore, the correct choice is that Assertion A is not correct but Reason R is correct.

Explore the full course: Mppsc Assistant Professor