download Mastguru Android App

Question Detail

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
Similar Questions :

1. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends

2. What is true about Constructor ?

  • Its name is plural of class name.
  • Its name has * symbol before it.
  • Its name is same as of class name.
  • Its name has # symbol before it.

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

  • True
  • False

4. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

5. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null
Read more from - C++ Programming Questions Answers - Set 2
Post a comment