in reply to Re^2: Documenting non-public OO components
in thread Documenting non-public OO components
In Java speek 'private' means only the class that declaired it can use it, 'public' means any one of any class can use it. Java also has the notion of 'protected' and 'package', basicly any subclass has access and any class in the same package has access respectivly.
The "SUBCLASSING" section would declair 'protected' (by convention only) methods. So it would not truely be 'public' in the sense of any class may call them, but it could be seen as 'public' in the sense that you have published their specs for all to see.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Documenting non-public OO components
by creamygoodness (Curate) on Sep 06, 2005 at 19:08 UTC | |
by lachoy (Parson) on Sep 06, 2005 at 19:43 UTC | |
by revdiablo (Prior) on Sep 07, 2005 at 15:49 UTC | |
by creamygoodness (Curate) on Sep 08, 2005 at 00:17 UTC |
In Section
Meditations