Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 the ‘font’ and ‘fontmetrics’ class?

1207


Do you think that java should have had pointers?

1125


Write a program to show synchronization?

1208


Explain about local interfaces.

1117


What is Remote Server?

2253


What are the purpose of introspection?

1257


What are the pros and cons of detached objects?

1039


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.

2281


Name the eight primitive java types.

1199


Are we allowed to change the transaction isolation property in middle of a transaction?

1076


Java is fully object oriented languages or not?

1072


Where can I ask questions and make suggestions about seam?

1112


Difference between new operator and class.forname().newinstance()?

1178


How would you detect a keypress in a jcombobox?

1185


how to use debug in my elipse to solve problems that exist in my project

2328