+ 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.

1st Apr 2017, 6:53 AM
Puspal Ghosh
Puspal Ghosh - avatar
2 Respostas
+ 4
thanks :)
1st Apr 2017, 8:59 AM
Puspal Ghosh
Puspal Ghosh - avatar