Things that cause increasing Handles

a) Uncaught Exceptions but handled higher up
b) Returning a null when the Method strictly returns an ArrayList<>. And then validating the ArrayList<> with == null instead of isEmpty();
c) Failure to close Db Connection or possible resource handles
d) Using a scanner class, and not using an iteration to next()

That’s all I can think of for now()!

Don't be shellfish...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

Leave a Reply