进行变量放置并确认副本的问题。
@org.junit.Test
public void question() {
int c[] = new int[]{0};
/*Questions:
* 1.) Is j in the stack?
* 2.) When assigning j, is a copy of the value c[0] performed?*/
int j = c[0];
}
芜湖不芜
三国纷争
相关分类