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

Does sprintf add a null terminator?

1081


Explain about main() method in java ?

1040


Java.util.regex consists of which classes?

976


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

967


What are the two ways of implementing multi-threading in java?

1477


What is method and methodology?

1081


What are "methods" and "fields"?

998


explain autoboxing in java?

984


What is the need of transient variables in Java ?

1057


Why arraylist is used in java?

1055


What do you mean by inner class in java? Explain

1048


How many bits are in a sentence?

1151


What is an interface in java?

1039


what do you understand by synchronization? : Java thread

969


Why char array is preferred over string for storing password?

1077