download Mastguru Android App

Question Detail

The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above
Similar Questions :

1. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

2. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above

3. We can do constructor overloading in C++ ?

  • True
  • False

4. Classes that can be used to instantiate objects are called concrete classes.

  • True
  • False

5. How we can access data members using objects ?

  • object@datamember
  • object*datamember
  • object->datamember
  • object.datamember
Read more from - C++ Programming Questions Answers - Set 2
Post a comment