참조변수 super super는 참조변수 this와 비슷하게 작동한다. 1. 조상의 생성자를 호출하는 경우 super() 2. 자손 클래스에서 조상 클래스로부터 상속받은 멤버를 참조하는 경우 super 하나씩 살펴보자 1. 조상의 생성자를 호출하는 super() class Point{ int x; int y; public Point(int x, int y) { this.x = x; this.y = y; } } class Point3D extends Point { int z; public Point3D(int x, int y, int z) { super(x, y); this.z = z; } } Point3D 클래스가 Point 클래스를 상속받은 상황이다. 생성자는 상속되지 않으므로 Point3D 클래스의 ..