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 immutable object?

1094


define the terminology association.

1098


Why char array is favored over string for the storage of passwords?

1066


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

3464


How do you write methodology?

982


Can we override data members in java?

1135


Explain about member inner classes?

1092


What is the maximum size of list in java?

957


Is singleton a bad practice?

1038


Implement a stack with push (), pop() and min() in O(1) time.

1102


What does it mean to be immutable?

961


Define how can we find the actual size of an object on the heap?

1200


String class is defined under which package in java?

1068


According to java operator precedence, which operator is considered to be with highest precedence?

1082


What is lifetime variable?

951