1.상속이란부모 클래스에 만들어진 필드와 메소드를 자식 클래스가 물려받는 것 extends 명령어부모 클래스의 멤버변수나 메서드에 접근할때는 this 대신 super을 쓴다자바에서는 다중 상속을 허용하지 않는다. 모든 클래스는 Object 클래스를 상속 받는다. class Point{ private int x,y; void set(int x, int y) { this.x = x; this.y = y; } void showPoint() { System.out.println("("+x+","+y+")"); }}class ColorPoint extends Point{ private String color; void setColor(String color) { this.color = colo..