2019.1.21 while(true){ String tmp = input.nextLine(); if(tmp.equals("&&")){ System.out.println("Input finish"); break; } else{ words.add(tmp); } }