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 do you understand by the bean persistent property?
why Interface used?
What is passing parameters in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is the format specifier?
Why do we need wrapper classes?
Does java trim remove newline?
Are functions objects in java?
How does arraylist work in java?
What are the topics in advance java?
Why char array is favored over string for the storage of passwords?
What are extraneous variables examples?
Define canvas?
What do you mean by hashing?
Which class cannot be a subclass in java?