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 are the advantages of packages in java?
Is hashset ordered?
What does replaceall do in java?
What is java util collection?
Why java is object oriented?
What is treeset in java?
What is meant by tab pans?
Which of the following is not an isolation level in the JDBC
Can inner class final?
Does chrome use java?
When can we say that threads are not lightweight process in java?
What are memory tables?
What is the difference between array and array list in java?
What is map and hashmap in java?
What is difference between jdk,jre and jvm?