profile-img
Eduncle posted an MCQ
February 22, 2020 • 16:15 pm 0 points
  • UGC NET
  • Computer Science & Applications

Let A be the base class in C++ and B be the derived class from A with protected inheritance. Which of the following statement is false for class B?

Choose Your Answer:
0 Attempts Submit Now
  • 0 Likes
  • 1 Comments
  • 0 Shares
  • comment-profile-img>
    Eduncle Best Answer

    Object of Derived class cannot access any member of Base class directly. So it cannot access public, protected as well as private members directly.

whatsapp-btn

Do You Want Better RANK in Your Exam?

Start Your Preparations with Eduncle’s FREE Study Material

  • Updated Syllabus, Paper Pattern & Full Exam Details
  • Sample Theory of Most Important Topic
  • Model Test Paper with Detailed Solutions
  • Last 5 Years Question Papers & Answers