摘要:
在java中,new操作往往意味着内存中的开辟新的内存空间,这个内存空间分配在内存中的堆区,受到jvm控制,自动进行内存管理。这里我们就是用String这个类来举例说明。 public class Test { public static void main(String[] args) { Str 阅读全文
posted @ 2020-11-13 23:49
七0
阅读(399)
评论(0)
推荐(0)
摘要:
i在式子中参与运算一次就自加1 2+(i)+i+1=6 public static void main(String[] args) { int a = 10; int b = 20; change(c,b); System.out.println(c);// a = 10 System.out.p 阅读全文
posted @ 2020-11-13 22:47
七0
阅读(53)
评论(0)
推荐(0)
浙公网安备 33010602011771号