For example, I ask for a whole piece of information and when I enter a letter for example, tell me that the data entered is not valid.
I have put this, but it does not work for me
while (teclado.hasNextInt()==false)
System.out.println...
asked by
08.10.2017 / 18:53