algorithm of analyzing and designing ，a version of java