Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

array of string java

//store input string in an array with an length unknown
		Scanner scanner = new Scanner(System.in);
        String[] string = scanner.nextLine().split(" ");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #string #java
ADD COMMENT
Topic
Name
5+7 =