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 / nagesh
for(int i=a.length-1;i>=0;i--){
System.out.println(a[i])
}
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is the difference between a checked and an unchecked exception?
What do you mean by flow of struts?
Why is logger singleton?
Name four container classes.
What is bufferedwriter?
What does string intern() method do?
Which is better singleton or static class?
What is a singleton puppy?
What is java ceil?
How many bytes are a float?
What is the purpose of a volatile variable?
What is empty list in java?
Can a class have more than one object?
How does thread synchronization occurs inside a monitor?
What is a condition in programming?