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


Please Help Members By Posting Answers For Below Questions

What is the difference between RMI registry and OS Agent?

634


What is mdb and what is the special feature of that?

568


What is an abstract method?

596


Can I run seam with jdk 1.4 and earlier?

561


When is the best time to validate input?

609






What is the difference between session and entity beans?

581


Where can I find seam examples and documentation?

567


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1638


Explain about thread synchronization inside a monitor?

2003


What is the RMI and Socket?

623


What’s jboss jbpm?

583


What if the static modifier is removed from the signature of the main method?

707


What do you mean by Socket Programming?

551


what are memory considerations of jsp compares to other web components?

6014


What are JTA/JTS and how they used by client?

1718