print out whole array java

52

print out whole array java -

String[] array = new String[] {"John", "Mary", "Bob"};
System.out.println(Arrays.toString(array));

Comments

Submit
0 Comments