C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How do you express `private inheritance'?

0 votes
29 views
asked by anonymous

1 Answer

0 votes
When you use `: private' instead of `: public'. Ex:

class Foo : private Bar {
//...
};
answered by anonymous

Related questions

0 votes
1 answer 46 views
0 votes
1 answer 73 views
0 votes
1 answer 57 views
0 votes
1 answer 14 views
14 views asked by sara Guru (24,570 points)
0 votes
2 answers 23 views
23 views asked by smith Geek (15,340 points)
...