JAVA---doing for interesting