Update Main.java

updated java doc for main class