whats the use of inheriting with access specifier as private..?
Please specify the answer with a simple example...
Regards
-- Madhu
whats the use of inheriting with access specifier as private..?
Please specify the answer with a simple example...
Regards
-- Madhu
Please read How To Ask Questions The Smart Way.
Please read the forum rules:
(6) Do not post classroom or homework problems in the main forums.
Homework and coursework questions can only be posted in this forum
under special homework rules.
This is not a home work question. I faced it in one of the discussion at my organization level...
... OK. Please be more specific regarding the scope: which language?
It is related to C++ language.
What ever you inherit, that goes to private section in the derived class.The code is accessible only to public members of the class.