{"id":15713,"date":"2025-09-09T09:01:23","date_gmt":"2025-09-09T00:01:23","guid":{"rendered":"https:\/\/blog.agentsoft.co.kr\/index.php\/2025\/09\/09\/15713\/"},"modified":"2025-09-09T09:01:23","modified_gmt":"2025-09-09T00:01:23","slug":"%ea%b0%9d%ec%b2%b4%ec%a7%80%ed%96%a5-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d-%ec%a1%b1%eb%b3%b4","status":"publish","type":"post","link":"https:\/\/blog.agentsoft.co.kr\/index.php\/2025\/09\/09\/15713\/","title":{"rendered":"\uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d \uc871\ubcf4"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumb212\/2024\/02\/17\/data29466291-0001.jpg\"><img decoding=\"async\" src=\"https:\/\/image4.happycampus.com\/Production\/thumb212\/2024\/02\/17\/data29466291-0002.jpg\"><\/p>\n<p><strong>\ubaa9\ucc28<\/strong><\/p>\n<p>\uc5c6\uc74c<\/p>\n<p><strong>\ubcf8\ubb38\ub0b4\uc6a9<\/strong><\/p>\n<p>1.\t\uc778\ud130\ud398\uc774\uc2a4 \ucf54\ub4dc -> \uc81c\ub108\ub9ad \ucf54\ub4dc\ub85c \uc218\uc815<br \/>\n\uc81c\ub108\ub9ad \uc815\uc758: \ub370\uc774\ud130 \ud0c0\uc785\uc744 \uc77c\ubc18\ud654(generalize) \ud558\ub294 \uac83\uc744 \uc758\ubbf8<br \/>\n\ud074\ub798\uc2a4\ub098 \uba54\uc18c\ub4dc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \ub0b4\ubd80 \ub370\uc774\ud130 \ud0c0\uc785\uc744 \ucef4\ud30c\uc77c \uc2dc\uc5d0 \ubbf8\ub9ac \uc9c0\uc815\ud558\ub294 \ubc29\ubc95<br \/>\n\uf0e8\t\uac1d\uccb4\uc758 \ud0c0\uc785 \uc548\uc815\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc74c<br \/>\n\uf0e8\t\ubc18\ud658\uac12\uc5d0 \ub300\ud55c \ud0c0\uc785 \ubcc0\ud658 \ubc0f \ud0c0\uc785 \uac80\uc0ac\uc5d0 \ub4e4\uc5b4\uac00\ub294 \ub178\ub825\uc744 \uc904\uc77c \uc218 \uc788\uc74c<\/p>\n<p>2.\tISP \uc124\uacc4\uc6d0\uce59\uc5d0 \ub9de\uac8c \uc778\ud130\ud398\uc774\uc2a4 \uc791\uc131 \ud6c4 \uc124\uba85<br \/>\nISP \uc815\uc758: \uc778\ud130\ud398\uc774\uc2a4 \ubd84\ub9ac \uc6d0\uce59, \uac1d\uccb4\ub294 \uc790\uc2e0\uc774 \uc0ac\uc6a9\ud558\ub294 \uba54\uc11c\ub4dc\uc5d0\ub9cc \uc758\uc874\ud574\uc57c \ud55c\ub2e4.<br \/>\ninterface statusCheck {<br \/>\n    public void \ucd9c\uadfc();<br \/>\n    public void \ud1f4\uadfc();<br \/>\n    public void \ud734\uac00(String vacationDate);<br \/>\n    public void \uadfc\ubb34\uae30\uac04\uc124\uc815();<br \/>\n    public void \ud734\uac00(String vacationDate);<\/p>\n<p>}<\/p>\n<p>interface timestatusCheck {<br \/>\npublic void \ucd9c\uadfc();<br \/>\n    public void \ud1f4\uadfc();<br \/>\n    public void \uadfc\ubb34\uc77c();<br \/>\n}<\/p>\n<p>\uc774\ub7f0\uc2dd\uc73c\ub85c \ub9cc\ub4e4\uace0 \ubc11\uc5d0 \ucf54\ub4dc\ucc98\ub7fc \ubc1b\uc73c\uba74 \ub420\ub4ef?<br \/>\nPublic class \uc0c1\uc2dc\uadfc\ubb34\uc790 implements statusCheck{<br \/>\n@Override<br \/>\n\tpublic void \ucd9c\uc11d(){\u2026}<br \/>\n}<\/p>\n<p>3.\t\ud074\ub798\uc2a4 \uad6c\uc870 \ubcf4\uace0 DIP \uc124\uacc4\uc6d0\uce59 \ud574\uc11d<br \/>\nDIP \uc815\uc758: \uc758\uc874\uc131 \uc5ed\uc804 \uc6d0\uce59, \ucd94\uc0c1\ud654\uc5d0 \uc758\uc874\ud558\uace0 \uad6c\uccb4\ud654\uc5d0 \uc758\uc874\ud558\uc9c0 \ub9d0\uae30<br \/>\n(\uace0\uc218\uc900 \ubaa8\ub4c8, \uc778\ud130\ud398\uc774\uc2a4, \ucd94\uc0c1 \ud074\ub798\uc2a4)<br \/>\n(\uc800\uc218\uc900 \ubaa8\ub4c8, \uac1d\uccb4, \uba54\uc778 \ud074\ub798\uc2a4)<br \/>\n\uadf8\ub9ac\uace0 \ub3d9\uae30\ud654\uc694\uccad\uc774\ub77c\ub294 \ucd94\uc0c1\uc801\uc778 \uc778\ud130\ud398\uc774\uc2a4(\uace0\uc218\uc900 \ubaa8\ub4c8)\ub97c \uc0ac\uc6a9\ud574 \uad6c\uccb4\uc801\uc778 \ud1b5\uc2e0\ubaa8\ub4c8\uacfc \uc0ac\uc6a9\uc790\ubaa8\ub4c8(\uc800\uc218\uc900 \ubaa8\ub4c8)\uc744 \uad6c\ud604\ud558\ub3c4\ub85d \ud55c\ub2e4. \uc774\ub807\uac8c \uc0ac\uc6a9\uc790\uc640 \ud1b5\uc2e0\uc740 \uc774 \uc778\ud130\ud398\uc774\uc2a4\ub85c \uc778\ud574 \ud2b9\uc815 \ud1b5\uc2e0 \ub610\ub294 \uc0ac\uc6a9\uc790\uc5d0 \uc758\uc874\ud558\uc9c0 \uc54a\uac8c \ub41c\ub2e4.<\/p>\n<p>4.\t\ud55c \ud074\ub798\uc2a4\uc758 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ud604\ud558\ub294 \ucf54\ub4dc \uc791\uc131<br \/>\n(1)\timplements Clonable<br \/>\n(2)\tthrows CloneNotSupportedException<br \/>\n(3)\t(ShoppingCart) super.clone()<br \/>\n(4)\treturn cloned<\/p>\n<p>\ucd9c\ucc98 : <a href=\"https:\/\/www.happycampus.com\/report-doc\/29466291\/\" target=\"_blank\">\ud574\ud53c\ucea0\ud37c\uc2a4<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubaa9\ucc28 \uc5c6\uc74c \ubcf8\ubb38\ub0b4\uc6a9 1. \uc778\ud130\ud398\uc774\uc2a4 \ucf54\ub4dc -> \uc81c\ub108\ub9ad \ucf54\ub4dc\ub85c \uc218\uc815 \uc81c\ub108\ub9ad \uc815\uc758: \ub370\uc774\ud130 \ud0c0\uc785\uc744 \uc77c\ubc18\ud654(generalize) \ud558\ub294 \uac83\uc744 \uc758\ubbf8 \ud074\ub798\uc2a4\ub098 \uba54\uc18c\ub4dc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \ub0b4\ubd80 \ub370\uc774\ud130 \ud0c0\uc785\uc744 \ucef4\ud30c\uc77c \uc2dc\uc5d0 \ubbf8\ub9ac \uc9c0\uc815\ud558\ub294 \ubc29\ubc95 \uf0e8 \uac1d\uccb4\uc758 \ud0c0\uc785 \uc548\uc815\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc74c \uf0e8 \ubc18\ud658\uac12\uc5d0 \ub300\ud55c \ud0c0\uc785 \ubcc0\ud658 \ubc0f \ud0c0\uc785 \uac80\uc0ac\uc5d0 \ub4e4\uc5b4\uac00\ub294 \ub178\ub825\uc744 \uc904\uc77c \uc218 \uc788\uc74c 2. ISP \uc124\uacc4\uc6d0\uce59\uc5d0 \ub9de\uac8c \uc778\ud130\ud398\uc774\uc2a4 \uc791\uc131 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[20729,20728,20734,6884,20733,20736,20735,20730,20732,20731],"class_list":["post-15713","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-oop","tag-20728","tag-20734","tag-6884","tag-20733","tag-20736","tag-20735","tag-20730","tag-20732","tag-20731"],"_links":{"self":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/15713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/comments?post=15713"}],"version-history":[{"count":0,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/posts\/15713\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/media?parent=15713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/categories?post=15713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.agentsoft.co.kr\/index.php\/wp-json\/wp\/v2\/tags?post=15713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}