129k views
5 votes
Display elements at indices 2 and 4 in the array userArray separated by a space. Java

1 Answer

4 votes

Answer:

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

Step-by-step explanation:

User Fadedbee
by
3.8k points