Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions
Technical Discussion :: C++

99 / 184

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.