Java package: Difference between revisions

Content deleted Content added
Shadanan (talk | contribs)
Added package naming conventions
Line 41:
 
compresses all *.class files into the JAR file ''myPackage.jar''.
 
== Package Naming Conventions ==
 
In general, a package name begins with the [[top level ___domain]] name of the organization and then the organization's ___domain. The organization can then choose a specific name for their pacakge. Package names should be all lowercase characters whenever possible.
 
For example, if an organization in Canada called MySoft creates a package to deal with Fractions, they might name their package:
ca.mysoft.fractions
 
== Packages in J2SE 1.5 ==
Line 57 ⟶ 64:
 
* {{Javadoc:SE}}
* Java Package Naming Conventions [http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html]
 
{{compu-lang-stub}}