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 an error in java?

1205


What is a final class in java?

1065


What is meant by stack and queue?

1124


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

1144


State differences between C and Java?

1264


Is int primitive data type?

992


What are java threads?

1174


What does indexof mean?

1106


What is the meaning of immutable regarding string?

1009


What are the features in java?

1123


In java, what is the difference between method overloading and method overriding?

1169


How to make a read-only class in java?

1237


Is a method a function?

1098


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1197


Can singleton class be serialized?

1009