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

Is char a method in java?

1013


Why we use multi threading instead of multiprocessing?

999


What are different data types?

958


What is a qms manual?

936


If we don’t want some of the fields not to serialize how to do that?

955


What is externalizable interface?

1053


Why string is immutable or final in java

1026


What is the difference between math floor and math round?

973


What is assembly used for?

964


How do you reverse a string in java without using string buffer?

1038


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

1283


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

997


What are the rules for variable declaration?

906


What are the advantages of functions?

868


What is difference between module and function?

1078