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
What is :: operator in java?
what is thread? : Java thread
In how many ways we can do exception handling in java?
What is procedure writing?
How does thread synchronization occurs inside a monitor?
What is a functional interface?
Differences between C and Java?
How do you declare an empty string?
What is the function of log?
what is the significance of listiterator in java?
What does sizeof return?
What is the purpose of the main method?
How will you call an Applet using Java Script Function?
What is the difference between a local variable and an instance variable?
Explain tree set and its features?