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
Is call by reference possible in java?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What does n mean in java?
What is the purpose of tostring() method in java?
Is set sorted in java?
Can we have any code between try and finally blocks?
What is t type java?
What does system out println () do?
What is basic syntax?
Explain differences between checked and unchecked exceptions in java?
What is a functional interface?
Does a function need a return?
Write a program to print count of empty strings in java 8?
Why multiple inheritance is not supported by java?
Differentiate jar and war files?