That said, when I'm in another thread and assign the return value to yet another variable then I don't need to worry about the object being held in memory twice?
Type: Posts; User: Wolf
That said, when I'm in another thread and assign the return value to yet another variable then I don't need to worry about the object being held in memory twice?
Hi all,
I have a question regarding best practice in using local variables as my method return variable.
I have a method like this
myReturnObject getMyObject(String input) {
...