Hi
I have a jsp application.
In this program, each user may make simultaneous purchases.
So I need a way to store several itens.
I chose to use a Vector, but I read that's better to use ArrayList, because it's faster than Vector.
In this situation, what should I use?
Thank's dennis
Hi
I have a jsp based application.
I'd like to know if it's good practice to set all variables to null, after using. I read that it helps the garbage collector to determine unused variables.
I have several variables such as String, arrays, vectors and arraylists.
I set to null only the vectors...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.