aliensbrain
  • Home
  • Topics
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C++ Programming and Space Technology
  • The private member in derived class...
Multiple choice general knowledge science & technology

The private member in derived class

  1. Cannot be inherited

  2. Can be inherited at all instances

  3. Can be inherited only if the derived class is inheriting from base class with public access level

  4. Can be inherited only if the derived class is inheriting from base class with private access level

Reveal answer Fill a bubble to check yourself
D Correct answer

Keep practicing — related questions

  • In which of the following inheritance, objects of derived class cannot access public members of base class?
  • Which of the following members of a class can neither be inherited in public mode nor in private mode?
  • Derived class can access _______ members
  • The protected data members of a base class become ___________ when privately derivated in the derived class.
  • In inheritance, when a protected member is inherited in public mode, it becomes ______ in the derived class.
  • Which of the following members of base class are accessible to the derived class members during inheritance?
  • A protected member inherited in a public mode becomes _____________.
  • Which of the following types of inheritance is used in a class when the public members of a base class beco...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy