public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); while (sc.hasNextLine()){ String str = sc.nextLine();//输入字符串 // 调用切割方法 split(str); } } public static void split(String str){ while(str.length()>=8){ System.out.println(str.substring(0,8)); str=str.sub...