which is the better collection class if the requirement is
only displaying the data
Answer Posted / rishabh
Choice of collection depends on the datastructure
requirements of the program. However we can make any
Collection as read only by using methods in Collections
class like unmodifiableList(), unmodifiableSet() etc.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Name the eight primitive java types.
what is a portable component?
Java is fully object oriented languages or not?
What state does a thread enter when it terminates its processing?
difference between ejb,struts,hibernate,spring and jsp
What is the relation between the infobus and rmi?
What is jboss?
What are the different approaches to represent an inheritance hierarchy?
When a thread blocks on i/o?
What if the static modifier is removed from the signature of the main method?
Explain ioc concept?
Have you used threads in Servelet?
What is difference between object state and behavior?
Which are the different segments of memory?
Do I have to use jsps with my application?