Answer Posted / 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 |
Post New Answer View All Answers
What is synchronization and why is it important in java programming?
What is the difference between Java1.4 and Java1.5
Can we pass null as argument in java?
What is a private class in java?
What is the difference between preemptive scheduling and time slicing in java programming?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What is complexity and its types?
How do you implement tree mirroring in java?
What invokes a thread's run() method in java programming?
What is the public method modifier?
What is private public protected in java?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What is difference between hashset and hashmap in java?
What is the purpose of final keyword and when to use it?
Is null or empty java?