Question Detail

The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above
Similar Questions :

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

  • True
  • False

2. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

3. 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

4. Operator overloading is ?

  • giving new meaning to existing c++ operators
  • making c++ operators work with objects
  • giving c++ operators more than they can handle
  • making new c++ operators

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

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2