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 / anandkumar
hai kumar you r wrong
with use of loop only we can reverse...
we can't do it with reverse() method b'coz this is not String Type....
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is collection class in java?
What is number data type in java?
What is treemap in java?
Differentiate between postfix and prefix operators in java.
List the three steps for creating an object for a class?
What is a function in java?
Explain reverse a linked list iterative solution in java?
What is the escape character in java?
What is default size of arraylist in java?
What is the difference between super class & sub class?
What technique can be employed to compare two strings?
What mechanism does java use for memory management?
How do you sort arrays in java?
Is arraylist ordered?
Does list allow duplicates in java?