You are not logged in.

#1 2017-07-31 06:55:37

Ibraheem
Webmaster
From: Capital
Registered: 2012-03-16
Posts: 22,981
Website

If a derived class uses the public access specifier, then _____?

Programming Languages Quizzes C / C++ Programming Language

Question:
If a derived class uses the public access specifier, then _____

Option A):
public base class members remain public in the derived class
Option B):
neither public base class members remain public in the derived class nor protected base class members become public in the derived class
Option C):
both public base class members remain public in the derived class and protected base class members become public in the derived class
Option D):
protected base class members become public in the derived class

Correct Answer is Option A):
public base class members remain public in the derived class

2017-07-31 06:55:37

Advertisement
Ads By Google

Re: If a derived class uses the public access specifier, then _____?



Board footer