How TreeMap sorts the objects inside it?? suppose if have
include one employee object and one car object. On what
basis it will sort?
Answer Posted / venkatesh
call static method from Collections class
below is method:
static Map synchroizedMap(MaP Object)
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
Which is bigger float or double?
How do you reverse a list?
What is vector?
What are static methods?
What’s a deadlock?
Does java allow default arguments?
Why java is considered as platform independent?
Can we store variables in local blocks?
What data type is true or false?
Does unicode support all languages?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
Which are different kinds of source code?
Write a java program that prints all the values given at command-line.
How do you invoke a method?