기본형 매개변수와 참조형 매개변수 ▶ 기본형 매개변수 – 변수의 값을 읽기만 할 수 있다.(read only) ▶ 참조형 매개변수 – 변수의 값을 읽고 변경할 수 있다.(read & write) 예9) //기본형 매개변수 public class PrimitiveParamEx { public static void main(String[] args) { Data d = new Data(); d.x = 10; // 참조변수 d를 통해 x에 10 저장 System.out.println("main() : x=" + d.x); change(d.x); // x의 값을 change에 복사 System.out.println("After change(d.x)"); System.out.println("main():x=" +..