Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java how to print a string[]

String[] array = new String[] {"John", "Mary", "Bob"};
System.out.println(Arrays.toString(array)); // [John, Mary, Bob]
 
PREVIOUS NEXT
Tagged: #java #print
ADD COMMENT
Topic
Name
4+9 =