Update Main.java

add net 1