324,574 views
41 votes
41 votes
Display elements at indices 2 and 4 in the array userArray separated by a space. Java

User Teddy Engel
by
3.0k points

1 Answer

13 votes
13 votes

Answer:

system.out.println(userArray[2] + " " + userArray[4])

Step-by-step explanation:

User Chris Collins
by
2.8k points