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 collection class in java?

1010


What is number data type in java?

1014


What is treemap in java?

947


Differentiate between postfix and prefix operators in java.

1127


List the three steps for creating an object for a class?

971


What is a function in java?

1032


Explain reverse a linked list iterative solution in java?

925


What is the escape character in java?

994


What is default size of arraylist in java?

1157


What is the difference between super class & sub class?

1195


What technique can be employed to compare two strings?

1104


What mechanism does java use for memory management?

978


How do you sort arrays in java?

933


Is arraylist ordered?

1081


Does list allow duplicates in java?

931