+ 2
What is the point of closing a class object?
If java has garbage collector, why do so many codes close the scanner class object after using it? :( ~bear with a noob here.
2 Answers
If java has garbage collector, why do so many codes close the scanner class object after using it? :( ~bear with a noob here.