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 immutable object?
define the terminology association.
Why char array is favored over string for the storage of passwords?
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?
How do you write methodology?
Can we override data members in java?
Explain about member inner classes?
What is the maximum size of list in java?
Is singleton a bad practice?
Implement a stack with push (), pop() and min() in O(1) time.
What does it mean to be immutable?
Define how can we find the actual size of an object on the heap?
String class is defined under which package in java?
According to java operator precedence, which operator is considered to be with highest precedence?
What is lifetime variable?