Answers for "how to read a string after an integer in java"

1

how to read a string after an integer in java

myInt = scan. nextInt();
myDouble = scan. nextDouble();
scan. nextLine(); // Skip the remainder of the double line.
myString = scan. nextLine();
Posted by: Guest on May-05-2021

Code answers related to "how to read a string after an integer in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language