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 file extension for java?
Is zero a positive integer?
Name some OOPS Concepts in Java?
Define an applet in java?
What is the r character?
Is minecraft java edition free?
What is purpose of find feature?
what are different ways in which a thread can enter the waiting state? : Java thread
Is static a singleton?
What is prefix of a string?
what is the purpose of "virtual"?
What is function declaration?
Is stringwriter thread safe?
What is object cloning in Java?
Do we have pointers in java?