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 the difference between heap memory and stack memory?

1012


What is return keyword in java?

1001


Is map sorted in java?

1004


Is array dynamic in java?

874


What is abstract class constructor called?

952


Is null or empty java?

924


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

979


What happens if an exception is throws from an object's constructor?

1073


What is a java lambda expression?

981


What is the difference in between cpp and java? Can u explain in detail?

1026


What is ordered map in java?

946


How to avoid memory leak in java?

1074


What are the differences between heap and stack memory in java?

994


What is the significance of continue jump statement? Explain with an example.

1249


What is passed by reference and pass by value ?

983