You are not logged in.

#1 2016-04-30 05:06:10

Muhammad
User RankUser RankUser RankUser RankUser RankUser Rank
بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ
From: Sahiwal Division
Registered: 2012-03-22
Posts: 22,197
Website

C++ For Beginner Quiz Question.

C++  Programming Quizzes C++ For Beginner

Question:
Which of the following statements is correct when a class is inherited publicly?

Option A):
Private members of the base class become protected members of derived class.
Option B):
Public members of the base class become private members of derived class.
Option C):
Public members of the base class become public members of derived class.
Option D):
Public members of the base class become protected members of derived class.

Correct Answer is Option C):
Public members of the base class become public members of derived class.


Online Web Tutorials And Interview Questions With Answers Forum:
https://globalguideline.com/forum/

2016-04-30 05:06:10

Advertisement
Ads By Google

Re: C++ For Beginner Quiz Question.



\n

Board footer