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
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Do you think that java should have had pointers?
Write a program to show synchronization?
Explain about local interfaces.
What is Remote Server?
What are the purpose of introspection?
What are the pros and cons of detached objects?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
Name the eight primitive java types.
Are we allowed to change the transaction isolation property in middle of a transaction?
Java is fully object oriented languages or not?
Where can I ask questions and make suggestions about seam?
Difference between new operator and class.forname().newinstance()?
How would you detect a keypress in a jcombobox?
how to use debug in my elipse to solve problems that exist in my project