Java package: Difference between revisions

Content deleted Content added
Two reasons you might use a package - including the one I deleted a moment ago
Classes in the same package can access each other's protected members.
Line 4:
 
* A package provides a unique namespace for the types it contains.
* AClasses in the same package facilitatescan access protectioneach other's protected members.
* A package can contain the following kinds of [[Datatypes|types]].
** [[Class (computer science)|Classes]]