Update Main.java

Changed attribute option to private.