Which of the following statements is TRUE?

NVS TGT/PGT 2019

Which of the following statements is TRUE?

  1. A.

    Polymorphic programming can eliminate the need for switch logic.

  2. B.

    A class is made abstract by declaring that class virtual.

  3. C.

    All virtual functions in an abstract base class must be declared as pure virtual functions.

  4. D.

    Referring to a derived-class object with a base-class handle is dangerous.

Attempted by 418 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bpsc

Loading lesson…