阅读背景:

在使用Java中的finally块时,Java如何处理返回引用?

来源:互联网 

In the scenario below how what happens with regards to GC? I'm pretty sure the reference to "a" will not actually get returned, hence no need to worry about leaving this reference in scope. So pretty much the return of "a" never actually takes place and therefore goes out of scope and only "b" is ever returned?In the scenario below how what happens with reg




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: