[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++

23. 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:

Name *
Email
Alert me

Post Your Reply Here:

Report Error

Please Login First Click Here