回答1: String answer=input.next(); if(answer.equals("bt2")){ cintinue; } | 回答2: 你的程序邏輯有問題了……自己先想好。。是不是必須用死迴圈。。必須用的話要多線程的
zhidao.baidu.com