what is difference between colection and collections?

Answer Posted / t.vijay nath

Collection is the root interface in collection
hierarchy,groups multiple elements into a single unit, it
allows duplicate & non-duplicate elements which may be
ordered or unordered.
Collections is a class which extends Object class & it
consists exclusively static methods .It is a member of Java
Collections Framework.Collections are used to store,
retrieve, manipulate, and communicate aggregate data

Is This Answer Correct ?    65 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program in java to find the maximum and minimum value node from a circular linked list.

511


What is an arraylist in java?

511


Can You Have Virtual Functions In Java?

581


Explain numeric promotion?

592


How to make a read-only class in java?

587






What is the difference between procedural and object-oriented programs?

522


Explain the features of interfaces in java?

548


What is finally block?

562


What is the difference between abstract class and interface1? What is an interface?

551


How do you define a method?

507


What are the five major types of reference sources?

525


Why do you canvas?

602


How would you convert bytes to string?

555


Can we have return statement in finally clause? What will happen?

510


What is a consumer in java?

560