딩(Overloading) 및 리링 ¶
- 딩 - C++ cin cin.get(), cin.get(ch), cin.get(ch,50) 는 럼 능 는 들 만들.
~cpp
public Circle(int xValue, int yValue, int width, int height) {
middlePoint = new Point(xValue, yValue);
this.width = width;
this.height = height;
}
public Circle(int xValue, int yValue, int r){
middlePoint = new Point(xValue, yValue);
this.width = r;
this.height = r;
}
- Point(int xValue, int yValue) -> 를 바 보 료를 받 .
| & 민 Pair | |










