[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: C++

9 / 187

What is meant by visibility mode explain briefly?

Answer:

Visibility mode is optional and may be either private or public. The default visibility mode is private. Visibility mode specifies whether the features of the base class are privately derived or publicly derived.

Ex:
Class abc: private Xyz // private derivation
{

members of abc;
};


Ex:
Class abc: private Xyz // public derivation
{

members of abc;
};

Asked In :: Sopra Steria

Post Your Answer Here:


Rate This: +0 -0     
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.