having problems ending this loop when I type "quit"
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");
}