O'Reilly logo
  • Divij Shrivastava thinks this is interesting:



Cover of SCJP: Sun Certified Programmer for Java® Platform, SE6, Study Guide


Use -d while compiling a file using javac and give %CLASSPATH% as address argument. The .class bytecode files would be saved in address location of CLASSPATH env variable instead of the package. the .class file would be saved in its package, hence package would help to distinguish b/n java files.