What is the difference between public, private, protected
inheritance?

Answer Posted / sehrish

in private inheritance the private public and protected membrs are inaccessible

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

We use library functions in the program, in what form they are provided to the program?

584


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

596


What is bubble sort c++?

560


What are pointers used for c++?

561


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

1495






What are the two main components of c++?

575


Is c++ harder than java?

553


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

535


what are the iterator and generic algorithms.

1473


What kind of jobs can I get with c++?

582


Do inline functions improve performance?

625


Describe exception handling concept with an example?

545


Can comments be nested?

611


What is the role of copy constructor in copying of thrown objects?

584


What does new in c++ do?

558