Update Main.java

final main