참조형 매개변수는 method 호출 시, 자신과 같은 type 또는 자손type의 instance를 넘겨줄 수 있다. 걍 아래 예제 보시는 게 이해가 빠름 이거 보고 정리하는 거라고 전에 적긴 했는데 https://youtu.be/U-VGYYH-obM?si=1EFn4V2pSL45XxRi 간단한 코드지만 정말 깔끔하고 좋네요^^ public class ParameterPolymorphism { public static void main(String[] args) { Buyer b = new Buyer(); b.buy(new Tv()); b.buy(new Computer()); // buy(Product p) System.out.println("현재 남은 돈은 " + b.money + "만원입니다."); S..