Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between colection and collections?

Answer Posted / nirmal kanna s

The Collections class is a utility class having static methods for doing operations on objects of classes which implement the Collection interface. For example, Collections has methods for finding the max element in a Collection.

The Collection interface defines methods common to structures which hold other objects. List and Set are subinterfaces of Collection, and ArrayList and HashSet are examples of concrete collections.

Collection : The root interface of Java Collections Framework.

Collections : A utility class that is a member of the Java Collections Framework.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1140


What is nullpointerexception?

1119


Who developed java?

1058


Why can't you declare a class as protected?

1208


What is the use of using enum to declare a constant?

1080


What is number data type in java?

1072


What is difference between hashset and hashmap in java?

1074


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

1019


What is the difference between sop and work instruction?

980


Explain about instanceof operator in java?

1121


Is string a wrapper class?

1060


What are triggers in DB? Explain their types. How do they work?

1139


What is the requirement of thread in java?

1109


Explain about static nested classes in java?

1112


What is data structure in java?

1042