download Mastguru Android App

Question Detail

The objects can directly access ?

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

1. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator

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

3. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

4. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

5. The derived class constructor

  • never passes any values to base class constructor
  • can pass arguments only to one base class constructor function
  • is responsible for passing the entire test of arguments needed by base class constructors
  • none of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment