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 the difference between heap memory and stack memory?
What is return keyword in java?
Is map sorted in java?
Is array dynamic in java?
What is abstract class constructor called?
Is null or empty java?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
What happens if an exception is throws from an object's constructor?
What is a java lambda expression?
What is the difference in between cpp and java? Can u explain in detail?
What is ordered map in java?
How to avoid memory leak in java?
What are the differences between heap and stack memory in java?
What is the significance of continue jump statement? Explain with an example.
What is passed by reference and pass by value ?