Answer Posted / ravikiran(aptech mumbai)
by overriding the compare method of comparator class
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How do you identify if jvm is 32-bit or 64-bit from java program?
Why can't we use static class instead of singleton?
What is an class?
Can inner class final?
Why do we need wrapper classes?
How does arraylist size increase in java?
What is function overriding and overloading in java?
Why are pointers not secure?
Can an object subclass another object?
What is parsing a string?
What is the use of 'super' keyword inside a constructor?
What is serial version uid and its importance in java?
What is object of class in java?
What is the difference between menuitem and checkboxmenu item?
What is collection sort in java?