sensimevanidus

2 July, 2009

Java Notes - 2 (Thinking In Java)

Java uses namespaces to prevent clashing of datas. To produce an unambiguous name for a library, the Java creators want you to use your Internet domain name in reverse since domain names are guaranteed to be unique. For example, a utility library created by ajoen.com would be named as:

com.ajoen.utility

After you reversed domain name, the dots are intended to represent subdirectories.