标签: java loops
在结束此循环时遇到问题
String employee=" "; double pay; int hours; while(employee != "quit") { System.out.print("Enter employee name: "); employee = input.next(); System.out.print(employee); System.out.println("\n"); }