By hangs I meant that the program did not print out any messages when I allowed it to execute for many seconds.
Type: Posts; User: Norm
By hangs I meant that the program did not print out any messages when I allowed it to execute for many seconds.
When I changed the program to get its input from the Scanner:
sc = new Scanner("password\ne\nThe message\n"); //System.in);
The program hangs?
What input should the program get from...