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 / kumar

Either you can use the for loop or reverse() method to
display the results in reverse order.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a stack class in java ?

1104


What is illegal identifier in java?

1013


Differences between external iteration and internal iteration?

1161


How do you add an element to a hashset in java?

1007


Why is it called boolean?

999


Explain the transient field modifier?

1045


Which is faster set or list in java?

1030


What are the 8 data types in java?

993


How will you compute size of a structure?

1176


What is the final method?

1073


What’s the difference between the methods sleep() and wait()?

1010


How do you create a sop?

1002


Explain creating threads by extending thread class ?

1053


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

1007


What variables are stored in stack?

962