Should added members be proteced or private?

Jeff Sparkes Jeff_Sparkes@excite.com
Fri Jul 28 16:52:00 GMT 2000


I'm implementing java.awt.Polygon right now. I have 
some members that are not in the API documentation. 
Should I keep everything that is not in the API spec as private,
or can I used friendly/default or protected as necessary? I assume
I should not add anything public to the class.
--
jsparkes@bigfoot.com
Jeff_Sparkes@excite.com
_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /