A) protected.
B) virtual.
C) static.
D) encapsulated.
E) None of the above
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) the <polymorphic> header file is included
B) the members of the class are public
C) pointers or references are being used
D) All of the above
E) None of the above
Correct Answer
verified
Multiple Choice
A) is a virtual function that has no implementation.
B) is a virtual function that performs a single task in program.
C) is a virtual function that has been completely debugged.
D) is one that is only called from within a virtual constructor.
E) None of the above
Correct Answer
verified
Multiple Choice
A) one that supports polymorphism.
B) one that has all of its member functions declared private.
C) one that has all of its member variables declared private.
D) one that has at least one pure virtual function.
E) None of the above
Correct Answer
verified
Multiple Choice
A) All of its members must be public.
B) it cannot use dynamic binding for its member functions.
C) the compiler does not allow objects of the class to be created.
D) it cannot use static binding for its member functions.
E) None of the above
Correct Answer
verified
Multiple Choice
A) derived class constructors
B) derived class destructors
C) member functions
D) base class constructors
E) None of the above
Correct Answer
verified
Multiple Choice
A) Constructor
B) Static
C) Destructor
D) Virtual
E) None of the above
Correct Answer
verified
Multiple Choice
A) protected
B) virtual
C) private
D) public
E) None of the above
Correct Answer
verified
Multiple Choice
A) an abstract class.
B) a pure virtual class.
C) a virtual base class.
D) All of the above
E) None of the above
Correct Answer
verified
Multiple Choice
A) encapsulation.
B) multiplicity.
C) population.
D) polymorphism.
E) None of the above
Correct Answer
verified
Multiple Choice
A) you must include the <pure> header file.
B) you use the keywords pure virtual.
C) you must put = 0 where the body of the function would go.
D) All of the above
E) None of the above
Correct Answer
verified
Multiple Choice
A) Access specifiers
B) Static members
C) Pointers
D) Private members
E) None of the above
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) static function
B) destructor function
C) virtual function
D) constructor function
E) None of the above
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) polymorphism
B) inheritance
C) member function
D) encapsulation
E) None of the above
Correct Answer
verified
Multiple Choice
A) static
B) local
C) dynamic
D) safe
E) None of the above
Correct Answer
verified
Multiple Choice
A) from the class of the object that is pointed to.
B) from the class of the type of the pointer.
C) from the base class of the inheritance hierarchy.
D) from the derived class of the base pointer object.
E) None of the above
Correct Answer
verified
Multiple Choice
A) must be accompanied by a virtual constructor of the same class.
B) must be overridden in a derived class for the function to be useful.
C) executes more efficiently than a non- pure virtual function.
D) All of the above
E) None of the above
Correct Answer
verified
Showing 1 - 20 of 20
Related Exams