Update Main.java

as