Importance Of Collection API

You must have heard about Collection API. If you  are a true java lover,

but when you faces a interview he/she tries to test your knowledge about collection api and by asking about generic classes or generic method but if you are asked ArrayList is synchronized or not so sure you will say no it is not synchronized but if he ask how to make it synchronized  answer is very simple we just have to use Collections.synchronizedList(List list), simple for map and set.

2 thoughts on “Importance Of Collection API

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s