All virtual functions in an abstract base class must be


Question: State whether each of the following is true or false. If false, explain why.

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

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

c) A class is made abstract by declaring that class virtual.

d) If a base class declares a pure virtual function, a derived class must implement that function to become a concrete class.

e) Polymorphic programming can eliminate the need for switch logic.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: All virtual functions in an abstract base class must be
Reference No:- TGS02405784

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)