(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 | ![]() |