값 썸네일형 리스트형 [Java] Call By Value, Call By Reference 2024. 11. 29 17:25 공부일지 작성 public class PMain4 {public static void test(int a, int [] b, int [] c) { System.out.println("b" + b);// System.out.println("c" + c);// System.out.println(a + "a");// System.out.println(b[0] + "b");// System.out.println(c[0] + "c");// System.out.println("------------------------"); a = 100; b[0] = 100; c= new int[] { 100, 200}; System.out.println("b" + b);// System.. 더보기 이전 1 다음