Inputed some Java code.
Added void my main method because I forgot it.