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. Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls

2. The members of a class are ?

b) by default are private
c) are made private by declaring as private
d) none of the above]

  • have no visibility by default
  • public by default
  • private by default
  • protected by default

3. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

4. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

5. 66. A constructor function is generally defined

  • In the private section of a class
  • In the public section of a class
  • In the protected section of a class
  • None of the above
Read more from - C++ Programming Questions Answers - Set 2