Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to get multiple integer input in java

    Scanner scanner = new Scanner(System.in);

    while(scanner.hasNext())
    {
        System.out.println(scanner.nextInt());
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #integer #input #java
ADD COMMENT
Topic
Name
9+8 =