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

Is hashset ordered java?

1041


Why can we not override static method?

1069


Convert a BST into a DLL and DLL to BST in place.

1073


What is a ?

1160


What are different types of inner classes ?

995


How can we pass argument to a function by reference instead of pass by value?

1056


What is difference between stringbuffer and string?

907


What is the access scope of a protected method?

965


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

10991


Which is bigger double or float?

918


How many wrapper classes are there in java?

975


How can you write a loop indefinitely in java programming?

964


Is java se free?

895


Is set thread safe java?

874


What is a generic type?

968