A attempt to learn JAVA