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 an error in java?
What is a final class in java?
What is meant by stack and queue?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
State differences between C and Java?
Is int primitive data type?
What are java threads?
What does indexof mean?
What is the meaning of immutable regarding string?
What are the features in java?
In java, what is the difference between method overloading and method overriding?
How to make a read-only class in java?
Is a method a function?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Can singleton class be serialized?