Answers for "check if scanner input is int or string"

1

scanner check if int

boolean isAnInt = scanner.hasNextInt();
Posted by: Guest on June-17-2020

Code answers related to "check if scanner input is int or string"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language