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 / zaheer ahmed

"You can so easily mistake "Collections" for "Collection"—be careful.
Keep in mind that Collections is a class, with static utility methods, while Collection
is an interface with declarations of the methods common to most collections
including add(), remove(), contains(), size(), and iterator()"

Reference:
Mc Graw Hill - SCJP Sun Certified Programmer for Java 6 Exam 310-065 (2008)Page 559

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 a nested list?

1024


Why hashset is used in java?

1122


Why is boolean important?

1121


What is return code?

1059


What is the buffer limit?

1082


What are disadvantages of java?

1044


What is meant by 'bit masking' in java?

1260


Is it necessary for the port addresses to be unique? Explain with reason.

1057


Is array dynamic in java?

993


Which command from the jdk compiles a java program?

1046


Difference between error and exception

6168


What package is math in java?

1055


What are the library functions in java?

1108


Can I uninstall java?

1111


Can abstract class have private constructor?

988