download Mastguru Android App

Question Detail

What is data hiding ?

  • It is related with hiding internal object details
  • It is related with showing internal object details
  • It is related with datatypes
  • None of above
Similar Questions :

1. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

2. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

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

  • True
  • False

4. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

5. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for
Read more from - C++ Programming Questions Answers - Set 2
Post a comment