while(true){
System.out.println("请输入一个整数:");
Scanner consle=new Scanner(System.in);
String userInput2 =consle.toString();
//String result = t1.checkYourself(userInput2);
if (userInput2=="kill"){
break;
}
相关分类