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...

Suppose there is an array list [10,5,20,19,15,24].Print them
in ascending & descending order in collection framework
concept ???

Answer Posted / sagar

Use
Collections.sort(arraylist)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is :: operator in java?

972


what is thread? : Java thread

983


In how many ways we can do exception handling in java?

998


What is procedure writing?

975


How does thread synchronization occurs inside a monitor?

1101


What is a functional interface?

1038


Differences between C and Java?

1200


How do you declare an empty string?

1063


What is the function of log?

1008


what is the significance of listiterator in java?

1080


What does sizeof return?

993


What is the purpose of the main method?

992


How will you call an Applet using Java Script Function?

1030


What is the difference between a local variable and an instance variable?

1108


Explain tree set and its features?

1052