ArrayList
, we have to typecast it.
Typecasting at every retrieval operation is a big headache.
If we already know that our list only holds String
data, then we need not to typecast it every time.
“There comes a point when you either embrace who and what you are, or condemn yourself to be miserable all your days. Other people will try to make you miserable; don’t help them by doing the job yourself.” ― Laurell K. Hamilton |