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


Please Help Members By Posting Answers For Below Questions

difference between byte stream class and character stream class?

4081


What is the difference in between cpp and java? Can u explain in detail?

603


Do we have pointers in java?

524


Compare Mutex and Semaphore in java.

556


How do you use find and replace?

509






What are different types of encoding?

578


What is a finally block? Is there a case when finally will not execute?

544


Can I overload to string method

964


How many classes can any class inherit java?

504


How many techniques can be employed to create a string object?

551


What is class array in java?

507


What is %02d?

574


Can you give names of Container classes?

1849


What is the properties class?

556


Is java free for commercial?

489