what is difference between colection and collections?

Answer Posted / umesh kumar samal

Collection
-----------
Collection is a interface these hold all sub interface like set ,list,map that is like herichy and to in one root
Collections
-------------
Collections is a class user property these are using in all collection class in sorting the element in a proper order
Collections.sort(obj ref);

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 java reflection?

541


Explain constructors and types of constructors in java.

646


What is the difference between processes and threads?

538


What is runtime polymorphism or dynamic method dispatch?

526


How to obtain a performance profile of java program

547






Can we have any code between try and catch blocks?

565


What is __ init __ functions?

555


Similarity and difference between static block and static method ?

541


Is void a return type?

556


Explain about the interpreter in java?

629


What is a dot notation?

554


Why does java have two ways to create child threads?

472


What is hash code collision?

597


Why is String immutable?

626


What is a numeric string?

569