== 오버로딩(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 || Upload:JavaStudy2003.zip||