import java.util.Scanner;
//import java.util.Scanner;
//
//class Day {
// private String work;
// public void set(String work) {
// this.work=work;
// }
// public String get() {
// return work;
// }
// public void show() {
// if(work ==null)System.out.println("없습니다.");
// else System.out.println(work="입니다.");
// }
//}
//
//class MonthSchedule {
// Day d[];
// MonthSchedule(int day){
// d=new Day[day];
//
// for(int i =0; i<d.length; i++)
// d[i] = new d(i);
//
//
// }
//
// void run() {
// Scanner in = new Scanner(System.in);
// System.out.println("이번달 스케쥴 관리 프로그램.");
// System.out.println("(입력:1, 보기:2, 끝내기:3) >>");
// int a = in.nextInt();
// }
// public static void main(String[] args) {
// MonthSchedule april = new MonthSchedule(30);
// april.run();
// }
//}
//class Dictionary{
//
// private static String [] kor = {"사랑","아기","돈","미래","희망"};
// private static String [] eng = {"love","baby","money","future","hope"};
//
// public static String kor2Eng(String word) {
//
// for(int i =0; i<kor.length; i++) {
//
// if(word.equals(kor[i]))
// {
// return eng[i];
//
// }
// }
// return null;
// }
// public static void main(String[] args) {
//
// System.out.println("한영 단어 검색 프로그램입니다.");
// Scanner in = new Scanner(System.in);
// while(true) {
// System.out.print("한글단어?");
// String a = in.next();
// if(a.equals("그만")) break;
//
// if(Dictionary.kor2Eng(a)==null) {
// System.out.println(a+"는 저의 사전에 없습니다.");
// }
// else
// {
// System.out.println(a+"은 "+Dictionary.kor2Eng(a));
// }
// }
//
//
//
// }
//}
//class Point {
// //private int x,y;
// protected int x,y;
// public void set(int x, int y) {
// this.x=x;
// this.y=y;
// }
// protected int getx()
// {
// return x;
// }
// public void showPoint() {
// System.out.println("("+x+","+y+")");
// }
//}
//
//class ColorPoint extends Point{
// private String color;
// public void setColor(String color) {
// this.color = color;
// }
// public void showColorPoint() {
// System.out.print(color);
// showPoint();
// System.out.println(x); //protected
// System.out.println(getx()); //private
// }
//}
//
//public class ColorPointEX{
// public static void main(String[] args) {
// Point p = new Point();
// p.set(1, 2);
// p.showPoint();
//
// ColorPoint cp = new ColorPoint();
// cp.set(3, 4);
// cp.setColor("red");
// cp.showColorPoint();
// }
//}
//class Person{
// private int weight;
// int age;
// protected int height;
// public String name;
//
// public void setWeight(int weight) {
// this.weight = weight;
// }
// public int getWeight() {
// return weight;
// }
//}
//
//class Student extends Person{
// public void set() {
// age = 30;
// name="홍길동";
// height = 175;
// setWeight(99);
// }
//}
//
//public class InheritanceEX{
// public static void main(String[] args) {
// Student s = new Student();
// s.set();
// }
//}
//class Pen{
// protected int amount;
// public int getAmount() {
// return amount;
// }
// public int setAmount() {
// return amount;
// }
//}
//
//class SharpPencil extends Pen{
// private int width;
//}
//
//class Ballpen extends Pen{
// private String color;
//
// public String getColor() {
// return color;
// }
// public void setColor(String color) {
// this.color = color;
// }
//}
//
//class FountainPen extends Ballpen{
// public void refill(int n) {
// amount = n;
// }
//}
class Point {
private int x,y;
public Point() {
this.x = this.y=0;
}
public Point(int x,int y) {
this.x=x; this.y=y;
}
public void showPoint() {
System.out.println("("+ x + "," + y + ")");
}
}
class ColorPoint extends Point{
private String color;
public ColorPoint(int x,int y,String color) {
this.color = color;
//super(x,y);
}
public void showColorPoint() {
System.out.println(color);
showPoint();
}
}
public class SuperEX {
public static void main(String[] args) {
ColorPoint cp = new ColorPoint(5,6,"blue");
cp.showColorPoint();
}
}