Question Detail

What is polymorphism

  • Ability to take more than one form
  • Ability to destroy destructor
  • Ability to create constructor
  • None of above
Similar Questions :

1. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab

2. What is the meaning of base class in C++

  • Another class got inherit from this class
  • It inherit other class
  • It has a pointer variable
  • It is the first class declared

3. Can we overload constructors in C++

  • Yes
  • No

4. Which of the following cannot be inherited from the base class

  • Constructor
  • Friend
  • Both A and B cannot be inherited
  • Both A and B can be inherited

5. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8
Read more from - C++ Programming Questions Answers - Chapter 1