download Mastguru Android App

Question Detail

The default visibility mode while inheriting is ?

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

1. Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void

2. Inheritance is transitive in nature.

  • True
  • False

3. An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual

4. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

5. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator
Read more from - C++ Programming Questions Answers - Set 2
Post a comment