Let\'s say a method returns some value, but when I call it, I don\'t assign any variable to accept this RV. Then where does it go? Will GC collect it? Would it be a problem
Assuming the value isn't referenced anywhere else, it will be garbage collected