what is difference between colection and collections?

Answer Posted / vijay bhupathi

Collections is a utility class having static methods(ex.sort).
Collection is an interface which Set,List and Queue
extend.(just extend,there are no direct implementations of
Collection)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are memory tables?

612


How to Sort Strings which are given in List and display in ascending order without using java api.

3783


How do you format in java?

551


How do you write a conditional statement?

523


What is static data type in java?

546






What is Enum in Java?

686


How can we achieve thread safety in java?

691


Is stringwriter thread safe?

557


Explain when classnotfoundexception will be raised ?

569


Explain polymorphism citing an example.

595


What is a container in a gui?

554


What is object in java?

540


What is the final variable?

584


What is the locale class in java programming?

531


Is there any difference between nested classes and inner classes?

544