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 are the elements of java?
What is the use of jtable?
Where are variables stored?
Can Exception handling we can handle multiple catch blocks?
How do you define a set in java?
Explain throw keyword in java?
What is the difference between length and size in java?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What is lambda in java?
What is a boolean expression in java?
What is jvm? How its run?
I want to persist data of objects for later use. What is the best approach to do so?
Does importing a package imports its sub-packages as well in java?
What is local variable and instance variable?
What is the method to expand and collapse nodes in a jtree?