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 happens if a constructor is declared private?
What is Major and importance difference between for and foreach loop ?
Can we execute java program without main method?
Is 64bit faster than 32 bit?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What do you understand by synchronization?
Is string a class?
Can I use % with real numbers?
Can a class have multiple constructors?
What is a newline character in java?
Can you run java program without main method?
Discuss different types of errors that generally occur while programming.
What does java se mean?
What do you mean by collectors in java 8?
Can we have a try block without catch block?