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

To identify IDL language what mapping mechanism is used?

3424


How primary key is implemented in Oracle?

1929


To what value is a variable of the string type automatically initialized?

621


Can I use multiple html form elements with the same name?

590


What are the purpose of introspection?

690






what is Activation Instantinator?

1919


What do you mean by Socket Programming?

561


What is the difference between java class and bean?

591


How are the elements of a cardlayout organized?

606


Can I import same package/class twice? Will the jvm load the package twice at runtime?

655


What is the argument type of a programs main() method?

569


What is the difference between the font and fontmetrics classes?

577


What is the infobus?

620


What are the call back methods in entity bean?

573


What is difference between object state and behavior?

587