//...
private void demoInput() {
System.out.println("Insert some text: ");
try {
userin = br.readLine();
} catch (IOException e) {
System.out.println("Something went wrong!");
return;
}
System.out.println("You said: " + userin);
} while(!userin.equals("quit"));
}
//...
}
Comments