×

Loading...

Cannot say GC will happen .... But a+b will lead to a String available to be GC. Actually, even first line :new String("hello") will make "hello" available got GC also.

Report

Replies, comments and Discussions: