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...

where exactly collections are usefull in realtime

Answer Posted / suresh

collections are the advanced concept to maintain dynamic data as objects. In real time some times we can't estimate the size of the data and type of the data.so it's better to maintain data as objects through collections.through arrays we can't manage the data because arrays are not auto-grow-able in size.
through collections we can use our required data structures directly. we have different classes for that. in each we have predefined methods to manipulate data in that collection.
Collections are performance wise slow. even though collections provide more features to maintain huge data easily.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention a package that is used for linked list class in java.

902


Can the garbage collection be forced by any means?

932


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

923


Explain about arraylist?

1024


What is purpose of applet programming?

1134


Why is stringbuffer thread safe?

1004


What is temp in java?

942


What does nullpointerexception mean?

1022


What is difference between equals and hashcode method?

1046


Is .net better than java?

962


how we can make a write-only class in java?

971


What invokes a thread's run() method in java programming?

1117


Give a practical example of singleton class usage?

994


What is object-oriented programming?

1026


What is the exact difference in between Unicast and Multicast object? Where will it be used?

998