A virtual function that has no definition within the base class is called?
A. Pure virtual function
B. Pure static function
C. Pure Const function
D. Virtual Function
Syntax for Pure Virtual Function is?
A. virtual void show()==0
B. void virtual show()==0
C. virtual void show()=0
D. void virtual show()=0
C++ supports run time polymorphism with the help of virtual functions, which is called …………….. binding?
B. run time
C. early binding
Find the wrong statement/s about Abstract Class?
A. We can’t create its objects.
B. We can’t create pointers to an abstract class.
C. It contains at least one pure virtual function.
D. We can create references to an abstract class.
We can’t create pointers to an abstract class.
Which of the followings are true about Virtual functions?
A. They must be non-static member function of the class
B. They cannot be friends
C. Constructor Functions cannot be virtual
D. All of these
Which of the following correctly describes overloading of functions?
A. Virtual polymorphism
B. Ad-hoc polymorphism
C. Transient polymorphism
D. Pseudo polymorphism
Which of the following operator is overloaded for object cout?
Which of the following operators cannot be overloaded? A B C
The operator << when overloaded in a class
A. must be a member function
B. must be a non member function
C. can be both (A) & (B) above
D. cannot be overloaded
Correct Op: C