+ 3
can i ask what is the meaning of this phrase?
" Display all the values of an array name contact in separate lines. "
3 ответов
+ 4
I'm assuming you would take each individual element from an array and print it line by line.
Example:
String[] names = ["Name 1", "Name 2", "Name 3"];
for(String s:names)
System.out.println(s)
+ 3
you're welcome!
+ 2
thank you !!