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


Please Help Members By Posting Answers For Below Questions

What is abstraction in java?

823


How do I enable java in safari?

779


How many characters is 16 bytes?

758


Explain the differences between static and dynamic variables?

848


what do you mean by marker interface in java?

762


What is the purpose of main function in java?

779


What is the maximum length of a url?

724


What is oops in java?

767


Can a static method be final?

772


How to display arraylist values in java?

721


What is array command?

806


Why constructor has no return type?

837


What do you mean by a JVM?

823


What does file separator do in java?

746


Explain about assignment statement?

805