Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 the purpose of the System class?

994


Why are arrays useful in java?

1022


How does arrays sort work in java?

1001


what is comparable and comparator interface?

984


What is this keyword used for?

1112


What are access specifiers in java ?

1132


Write a java program to print fibonacci series?

950


What are keywords and reserved words in java?

1054


What is a boolean output?

956


How do you download stubs from Remote place?

1780


Does java support function overloading, pointers, structures, unions or linked lists?

1096


What is jee6?

1096


How to Sort Strings which are given in List and display in ascending order without using java api.

4429


What is nan inf?

1071


How do you ensure that n threads can access n resources without deadlock?

1306