download Mastguru Android App

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. expression x.y represents as

  • member x of object y
  • member y of object x
  • member y of object pointed by x
  • all of above

2. Constructor is

  • A class automatically called whenever a new object of this class is created
  • A class automatically called whenever a new object of this class is destroyed
  • A function automatically called whenever a new object of this class is created
  • A function automatically called whenever a new object of this class is destroyed

3. Which is not a correct variable type

  • float
  • int
  • double
  • real

4. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above

5. How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment