All mock tests are FREE till 31 December — register to save your progress
Unit 3 · Programming Concepts & Python HTET 2023 PGT Computer Science

If a class contains at least one pure virtual function, it is called as ............. class.

यदि किसी क्लास में कम से कम एक प्योर वर्चुअल फंक्शन हो, तो उस क्लास को कहा जाता है :

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. Abstractएब्सट्रैक्ट

Explanation

A class with at least one pure virtual function (virtual void f() = 0;) is an abstract class; it cannot be instantiated.

जिस क्लास में कम से कम एक प्योर वर्चुअल फंक्शन (virtual void f() = 0;) हो वह एब्स्ट्रैक्ट क्लास है; उसका ऑब्जेक्ट नहीं बनता।

More Programming Concepts & Python questions