Can anyone tell the disadvantages of using collection framework in detail.
Thanks..:)
Printable View
Can anyone tell the disadvantages of using collection framework in detail.
Thanks..:)
What do you think are the disadvantages?
As far as my knowledge is concerned,It will store everything as top level Object ,so u need to typecast properly.
1.We have to carefully use.Say ,Vector we should not use for read only purpose.Because ,it is synchronized and make ur program slow.
2.We have to carefully use the collection object or else it will raise "Out Of Memory" alarm.
Yes we can use generics ,But ,starters in java will not be familiar with the concepts.
I have answered in the prelimnary level.Previous version is not having support of generics.
So many projects are running with old jdk versions in so many companies.
The current version of Java is 1.6.
The previous version is 1.5 which has support for generics.
1.4 reached its end of service life on October 30th, 2008.
My dear friend r035198x,
No more arguments.She is a beginner.My reply perfectly fits ....
Yes, and a typical beginner works for a company that uses a dead Java version, Sure.
I didn't know that the OP was female. Thanks for the information.
The problem is that there is already a lot of misinformation going around the forums and it doesn't help to add to it.
You are trying to teach false disadvantages of the Collections framework.