Hai all
I want to print given array in reverse order Ex:
int a[]={1,2,3,4,5};display this array in reverse order.
Answer Posted / kumar
Either you can use the for loop or reverse() method to
display the results in reverse order.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is a stack class in java ?
What is illegal identifier in java?
Differences between external iteration and internal iteration?
How do you add an element to a hashset in java?
Why is it called boolean?
Explain the transient field modifier?
Which is faster set or list in java?
What are the 8 data types in java?
How will you compute size of a structure?
What is the final method?
What’s the difference between the methods sleep() and wait()?
How do you create a sop?
Explain creating threads by extending thread class ?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What variables are stored in stack?