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 a JAR file?
Can a method be overloaded based on different return type but same argument type?
What is the use of optional ?
Name and explain the types of ways which are used to pass arguments in any function in java.
What do you understand by an io stream?
How does compareto work in java?
How to sort double array in java?
What is a programming object?
What is primitive data type in java?
How java uses the string and stringbuffer classes?
What is assembly language?
Can we print null in java?
Can sleep() method causes another thread to sleep?
What is a vararg?
Can string be considered as a keyword?