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

Answers were Sorted based on User's Feedback



where exactly collections are usefull in realtime..

Answer / kumar

Collections are usefull in those situations where you doesn't know how much data you have to handled, that means size of data not defined. Like there are so many scenario when data dynamically comes from UI or application ( no fixed size defined) then you must use collections to manage and perform diff operations.

Is This Answer Correct ?    13 Yes 1 No

where exactly collections are usefull in realtime..

Answer / 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

More Core Java Interview Questions

Why Java is not purely object oriented?

50 Answers   Elitecore, Persistent, Reliance, Wipro,


How do you check if a string contains only numeric digits?

0 Answers  


what are the oops concept in java explain with real time examples

24 Answers   Accenture, Bosch, Consummate Technologies, CTS, Current Technologies, iNautix, Infosys, Kekran Mekran, QA InfoTech, RTRT, SofTech, Tech Mahindra, Thorogood, Timios, Wipro,


What is the use of a copy constructor?

0 Answers   Flextronics,


Which api is provided by java for operations on set of objects?

0 Answers  


How to access a method that it declared as protected?

3 Answers  


Why runnable interface is used in java?

0 Answers  


Implement two stacks using a single array.

0 Answers   Global Logic,


explain about jre and jvm

2 Answers  


How many types of assembly languages are there?

0 Answers  


Can we convert stringbuffer to string?

0 Answers  


Explain about OOPS concepts and fundamentals.

0 Answers   Syntel, Visa,


Categories