what is difference between colection and collections?

Answer Posted / srinu

Collection is the interface. which can be implemented
List,set,Queue.This interface contain only instance methods.

Collection is the class .This class contain utility methods
such as all algorithm oriented methods.This class contain
only static methods.

Is This Answer Correct ?    15 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between runnable and callable interface in java?

579


What is java virtual machine? Explain

564


placement papaers of spring computing technology

1020


Is empty .java file name a valid source file name?

583


What are the methods to rectify ambiguities in the interfaces in JAVA?

582






Why is java logo a cup of coffee?

618


Which java version is latest?

534


What is exception in java?

563


How do generics work?

514


How can you share data between two thread in Java?

519


How to instantiate member inner class?

619


Can we extend a class with private constructor?

521


What is java objectoutputstream?

537


What is the difference between length and length() method in java?

636


Which is bigger float or double?

514