{"id":43487,"date":"2024-11-28T12:31:35","date_gmt":"2024-11-28T12:31:35","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=43487"},"modified":"2024-11-28T12:31:35","modified_gmt":"2024-11-28T12:31:35","slug":"dart-%ec%96%b8%ec%96%b4%ea%b0%95%ec%a2%8c-010-%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-oop-%ec%86%8c%ea%b0%9c-%ec%b6%94%ec%83%81-%ed%81%b4%eb%9e%98","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/43487\/","title":{"rendered":"[Dart \uc5b8\uc5b4\uac15\uc88c]  010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4"},"content":{"rendered":"<p><body><\/p>\n<p>\ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\uc870\uc801\uc774\uace0 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc131\ud558\ub294 \ub370 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub294 <strong>\uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(Object-Oriented Programming, OOP)<\/strong>\uc785\ub2c8\ub2e4. Dart \uc5b8\uc5b4\ub294 \uc774\ub7ec\ud55c OOP \uac1c\ub150\uc744 \ubc14\ud0d5\uc73c\ub85c \uc124\uacc4\ub41c \uc5b8\uc5b4\ub85c, \ucf54\ub4dc\ub97c \uc7ac\uc0ac\uc6a9\ud558\uace0 \uc720\uc9c0\ubcf4\uc218\ud558\uae30 \uc27d\uac8c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4. OOP\uc758 \uc911\uc694\ud55c \uad6c\uc131 \uc694\uc18c\uc778 \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP) \uac1c\ub150<\/h2>\n<p>\uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud504\ub85c\uadf8\ub7a8\uc744 &#8216;\uac1d\uccb4&#8217;\ub77c\ub294 \ub3c5\ub9bd\uc801\uc778 \ub2e8\uc704\ub85c \uad6c\uc131\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uac1d\uccb4\ub294 \uc0c1\ud0dc(\uc18d\uc131)\uc640 \ub3d9\uc791(\uba54\uc11c\ub4dc)\uc744 \ud3ec\ud568\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc758 \ub85c\uc9c1\uc744 \ubaa8\ub4c8\ud654\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4. \uc8fc\uc694 OOP \uac1c\ub150\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ucea1\uc290\ud654(Encapsulation)<\/strong>: \uac1d\uccb4\uc758 \ub0b4\ubd80 \uc0c1\ud0dc\ub97c \ubcf4\ud638\ud558\uace0, \uc678\ubd80\uc5d0\uc11c \uc811\uadfc\ud560 \uc218 \uc5c6\ub3c4\ub85d \ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0\ubcf4\uc218\uc131\uc744 \ub192\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0c1\uc18d(Inheritance)<\/strong>: \uae30\uc874 \ud074\ub798\uc2a4\ub97c \uae30\ubc18\uc73c\ub85c \uc0c8\ub85c\uc6b4 \ud074\ub798\uc2a4\ub97c \uc0dd\uc131\ud558\uc5ec, \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uacfc \uae30\ub2a5 \ud655\uc7a5\uc744 \uc6a9\uc774\ud558\uac8c \ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ub2e4\ud615\uc131(Polymorphism)<\/strong>: \ub3d9\uc77c\ud55c \uc774\ub984\uc758 \uba54\uc11c\ub4dc\uac00 \ub2e4\uc591\ud55c \ub3d9\uc791\uc744 \uc218\ud589\ud558\ub3c4\ub85d \ud558\ub294 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc774\ub294 \ud504\ub85c\uadf8\ub7a8\uc758 \uc720\uc5f0\uc131\uc744 \uc99d\uac00\uc2dc\ud0b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. \ucd94\uc0c1 \ud074\ub798\uc2a4(Abstract Class)<\/h2>\n<p>\ucd94\uc0c1 \ud074\ub798\uc2a4\ub294 \uc644\uc804\ud55c \uad6c\ud604\uc774 \uc544\ub2cc \uba54\uc11c\ub4dc\uc758 \uc815\uc758\ub97c \ud3ec\ud568\ud558\ub294 \ud074\ub798\uc2a4\uc785\ub2c8\ub2e4. \ucd94\uc0c1 \ud074\ub798\uc2a4\ub294 \ub2e4\ub978 \ud074\ub798\uc2a4\uc5d0 \uc0c1\uc18d\ubc1b\uc544 \uc0ac\uc6a9\ub418\uba70, \uc9c1\uc811 \uc778\uc2a4\ud134\uc2a4\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc774\ub294 \ud504\ub85c\uadf8\ub798\uba38\uc5d0\uac8c \uac15\ub825\ud55c \uc124\uacc4 \uacc4\uc57d\uc744 \uc81c\uacf5\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.<\/p>\n<h3>\ub2e8\uc21c\ud55c \ucd94\uc0c1 \ud074\ub798\uc2a4 \uc608\uc81c<\/h3>\n<p>\uc544\ub798\ub294 Dart\uc5d0\uc11c \ucd94\uc0c1 \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud558\uace0 \uc0ac\uc6a9\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>abstract class Animal {\n    void sound(); \/\/ \ucd94\uc0c1 \uba54\uc11c\ub4dc\n}\n\nclass Dog extends Animal {\n    @override\n    void sound() {\n        print(\"\uba4d\uba4d!\");\n    }\n}\n\nclass Cat extends Animal {\n    @override\n    void sound() {\n        print(\"\uc57c\uc639!\");\n    }\n}\n\nvoid main() {\n    Animal dog = Dog();\n    Animal cat = Cat();\n    \n    dog.sound(); \/\/ \uba4d\uba4d!\n    cat.sound(); \/\/ \uc57c\uc639!\n}\n<\/code><\/pre>\n<p>\uc704 \uc608\uc81c\uc5d0\uc11c &lt;code&gt;Animal&lt;\/code&gt; \ud074\ub798\uc2a4\ub294 \ucd94\uc0c1 \ud074\ub798\uc2a4\uc774\uba70, &lt;code&gt;sound()&lt;\/code&gt;\uc774\ub77c\ub294 \ucd94\uc0c1 \uba54\uc11c\ub4dc\ub97c \uc815\uc758\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. &lt;code&gt;Dog&lt;\/code&gt;\uc640 &lt;code&gt;Cat&lt;\/code&gt; \ud074\ub798\uc2a4\ub294 &lt;code&gt;Animal&lt;\/code&gt; \ud074\ub798\uc2a4\ub97c \uc0c1\uc18d\ubc1b\uc544 \uc774 \uba54\uc11c\ub4dc\ub97c \uad6c\ud604\ud569\ub2c8\ub2e4.<\/p>\n<h3>\ucd94\uc0c1 \ud074\ub798\uc2a4\uc758 \ud65c\uc6a9<\/h3>\n<p>\ucd94\uc0c1 \ud074\ub798\uc2a4\ub294 \ud2b9\uc815 \ud074\ub798\uc2a4\uc758 \uacf5\ud1b5 \uae30\ub2a5\uc744 \uc815\uc758\ud558\uc5ec \ucf54\ub4dc\uc758 \uc911\ubcf5\uc744 \uc904\uc774\uace0, \uc720\uc9c0\ubcf4\uc218\ub97c \uc6a9\uc774\ud558\uac8c \ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ud2b9\uc131 \ub355\ubd84\uc5d0 \ud655\uc7a5\uc131\uacfc \uc720\uc5f0\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub2e4\uc591\ud55c \ub3d9\ubb3c \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud560 \ub54c, \uac01 \ud074\ub798\uc2a4\uc758 \uacf5\ud1b5\ub41c \ud2b9\uc9d5\uc744 \ucd94\uc0c1 \ud074\ub798\uc2a4\uc5d0\uc11c \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>3. \uc778\ud130\ud398\uc774\uc2a4(Interfaces)<\/h2>\n<p>\uc778\ud130\ud398\uc774\uc2a4\ub294 \ud074\ub798\uc2a4\uac00 \uad6c\ud604\ud574\uc57c \ud558\ub294 \uba54\uc11c\ub4dc\uc758 \uc9d1\ud569\uc744 \uc815\uc758\ud569\ub2c8\ub2e4. Dart\uc5d0\uc11c\ub294 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ud074\ub798\uc2a4\ub85c \uc815\uc758\ud558\uace0, \uc774\ub97c \ub2e4\ub978 \ud074\ub798\uc2a4\uc5d0\uc11c \uad6c\ud604\ud568\uc73c\ub85c\uc368 \ub2e4\uc591\ud55c \uac1d\uccb4\uac00 \ub3d9\uc77c\ud55c \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\ub3c4\ub85d \uac15\uc81c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Dart\ub294 \ub9cc\uc57d \ud074\ub798\uc2a4\uac00 \ub2e4\ub978 \ud074\ub798\uc2a4\uc758 \uae30\ub2a5\uc744 \uc0c1\uc18d\ubc1b\uc9c0 \uc54a\ub294 \uacbd\uc6b0, \uadf8 \ud074\ub798\uc2a4\ub97c \uc778\ud130\ud398\uc774\uc2a4\ucc98\ub7fc \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uc778\ud130\ud398\uc774\uc2a4 \uc608\uc81c<\/h3>\n<p>\uc544\ub798\ub294 \uac04\ub2e8\ud55c \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>class Drawable {\n    void draw();\n}\n\nclass Circle implements Drawable {\n    @override\n    void draw() {\n        print(\"Circle\uc744 \uadf8\ub9bd\ub2c8\ub2e4.\");\n    }\n}\n\nclass Square implements Drawable {\n    @override\n    void draw() {\n        print(\"Square\uc744 \uadf8\ub9bd\ub2c8\ub2e4.\");\n    }\n}\n\nvoid main() {\n    Drawable circle = Circle();\n    Drawable square = Square();\n    \n    circle.draw(); \/\/ Circle\uc744 \uadf8\ub9bd\ub2c8\ub2e4.\n    square.draw(); \/\/ Square\uc744 \uadf8\ub9bd\ub2c8\ub2e4.\n}\n<\/code><\/pre>\n<p>\uc704 \uc608\uc81c\uc5d0\uc11c &lt;code&gt;Drawable&lt;\/code&gt; \uc778\ud130\ud398\uc774\uc2a4\ub294 &lt;code&gt;draw()&lt;\/code&gt; \uba54\uc11c\ub4dc\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. &lt;code&gt;Circle&lt;\/code&gt;\uc640 &lt;code&gt;Square&lt;\/code&gt; \ud074\ub798\uc2a4\ub294 \uc774 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ud604\ud558\uc5ec \uc790\uc2e0\uc758 \ubc29\uc2dd\uc73c\ub85c \uadf8\ub9ac\uae30 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \ud615\ud0dc\uc758 \ub3c4\ud615\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\ub294 \uc720\uc5f0\uc131\uc744 \ud655\ubcf4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>4. \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\uc758 \ucc28\uc774<\/h2>\n<p>\ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\ub294 \uc720\uc0ac\ud55c \ubaa9\uc801\uc744 \uac00\uc9c0\uace0 \uc788\uc9c0\ub9cc, \ub2e4\uc74c\uacfc \uac19\uc740 \ucc28\uc774\uc810\uc774 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ucd94\uc0c1 \ud074\ub798\uc2a4<\/strong>\ub294 \uc0c1\ud0dc\ub97c \uac00\uc9c8 \uc218 \uc788\uc9c0\ub9cc, \uc778\ud130\ud398\uc774\uc2a4\ub294 \uc0c1\ud0dc\ub97c \uac00\uc9c8 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ucd94\uc0c1 \ud074\ub798\uc2a4\ub294 \uba54\uc11c\ub4dc\uc758 \uae30\ubcf8 \uad6c\ud604\uc744 \uac00\uc9c8 \uc218 \uc788\uc9c0\ub9cc, \uc778\ud130\ud398\uc774\uc2a4\ub294 \uba54\uc11c\ub4dc\uc5d0 \ub300\ud55c \uad6c\ud604\uc744 \uc81c\uacf5\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ud558\ub098\uc758 \ud074\ub798\uc2a4\ub294 \uc5ec\ub7ec \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ud604\ud560 \uc218 \uc788\uc9c0\ub9cc, \ud558\ub098\uc758 \ud074\ub798\uc2a4\ub294 \ub2e8\uc9c0 \ud558\ub098\uc758 \ucd94\uc0c1 \ud074\ub798\uc2a4\ub9cc \uc0c1\uc18d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uacb0\ub860<\/h2>\n<p>\uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud604\ub300 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \ud544\uc218\uc801\uc778 \ubd80\ubd84\uc774\uba70, Dart \uc5b8\uc5b4\ub294 \uc774\ub97c \uba85\ud655\ud558\uac8c \uc2e4\ud604\ud558\ub3c4\ub85d \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4. <strong>\ucd94\uc0c1 \ud074\ub798\uc2a4<\/strong>\uc640 <strong>\uc778\ud130\ud398\uc774\uc2a4<\/strong>\ub294 \uc774\ub7ec\ud55c OOP \uac1c\ub150\uc744 \ub354\uc6b1 \ud6a8\uacfc\uc801\uc73c\ub85c \ud65c\uc6a9\ud560 \uc218 \uc788\ub294 \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ucf54\ub4dc\uc758 \uc720\uc5f0\uc131\uacfc \uc7ac\uc0ac\uc6a9\uc131\uc744 \ub192\uc774\uace0, \ud504\ub85c\uc81d\ud2b8\uc758 \ubcf5\uc7a1\uc131\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Dart\ub97c \uc0ac\uc6a9\ud558\ub294 \uac1c\ubc1c\uc790\ub77c\uba74 \uc774\ub7ec\ud55c \uac1c\ub150\uc744 \uc798 \uc774\ud574\ud558\uace0 \ud65c\uc6a9\ud568\uc73c\ub85c\uc368 \ub354 \ub098\uc740 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc744 \ud560 \uc218 \uc788\uc744 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\uc870\uc801\uc774\uace0 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc131\ud558\ub294 \ub370 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(Object-Oriented Programming, OOP)\uc785\ub2c8\ub2e4. Dart \uc5b8\uc5b4\ub294 \uc774\ub7ec\ud55c OOP \uac1c\ub150\uc744 \ubc14\ud0d5\uc73c\ub85c \uc124\uacc4\ub41c \uc5b8\uc5b4\ub85c, \ucf54\ub4dc\ub97c \uc7ac\uc0ac\uc6a9\ud558\uace0 \uc720\uc9c0\ubcf4\uc218\ud558\uae30 \uc27d\uac8c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4. OOP\uc758 \uc911\uc694\ud55c \uad6c\uc131 \uc694\uc18c\uc778 \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP) \uac1c\ub150 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud504\ub85c\uadf8\ub7a8\uc744 &#8216;\uac1d\uccb4&#8217;\ub77c\ub294 \ub3c5\ub9bd\uc801\uc778 \ub2e8\uc704\ub85c \uad6c\uc131\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uac1d\uccb4\ub294 \uc0c1\ud0dc(\uc18d\uc131)\uc640 \ub3d9\uc791(\uba54\uc11c\ub4dc)\uc744 \ud3ec\ud568\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc758 \ub85c\uc9c1\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/43487\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[Dart \uc5b8\uc5b4\uac15\uc88c]  010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-43487","post","type-post","status-publish","format-standard","hentry","category-17"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/43487\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\uc870\uc801\uc774\uace0 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc131\ud558\ub294 \ub370 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(Object-Oriented Programming, OOP)\uc785\ub2c8\ub2e4. Dart \uc5b8\uc5b4\ub294 \uc774\ub7ec\ud55c OOP \uac1c\ub150\uc744 \ubc14\ud0d5\uc73c\ub85c \uc124\uacc4\ub41c \uc5b8\uc5b4\ub85c, \ucf54\ub4dc\ub97c \uc7ac\uc0ac\uc6a9\ud558\uace0 \uc720\uc9c0\ubcf4\uc218\ud558\uae30 \uc27d\uac8c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4. OOP\uc758 \uc911\uc694\ud55c \uad6c\uc131 \uc694\uc18c\uc778 \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP) \uac1c\ub150 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud504\ub85c\uadf8\ub7a8\uc744 &#8216;\uac1d\uccb4&#8217;\ub77c\ub294 \ub3c5\ub9bd\uc801\uc778 \ub2e8\uc704\ub85c \uad6c\uc131\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uac1d\uccb4\ub294 \uc0c1\ud0dc(\uc18d\uc131)\uc640 \ub3d9\uc791(\uba54\uc11c\ub4dc)\uc744 \ud3ec\ud568\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc758 \ub85c\uc9c1\uc744 &hellip; \ub354 \ubcf4\uae30 &quot;[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/43487\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-28T12:31:35+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/43487\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43487\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\",\"datePublished\":\"2024-11-28T12:31:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43487\/\"},\"wordCount\":85,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud50c\ub7ec\ud130 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/43487\/\",\"url\":\"https:\/\/atmokpo.com\/w\/43487\/\",\"name\":\"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-28T12:31:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43487\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/43487\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/43487\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/43487\/","og_locale":"ko_KR","og_type":"article","og_title":"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\uc870\uc801\uc774\uace0 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc131\ud558\ub294 \ub370 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub294 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(Object-Oriented Programming, OOP)\uc785\ub2c8\ub2e4. Dart \uc5b8\uc5b4\ub294 \uc774\ub7ec\ud55c OOP \uac1c\ub150\uc744 \ubc14\ud0d5\uc73c\ub85c \uc124\uacc4\ub41c \uc5b8\uc5b4\ub85c, \ucf54\ub4dc\ub97c \uc7ac\uc0ac\uc6a9\ud558\uace0 \uc720\uc9c0\ubcf4\uc218\ud558\uae30 \uc27d\uac8c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4. OOP\uc758 \uc911\uc694\ud55c \uad6c\uc131 \uc694\uc18c\uc778 \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP) \uac1c\ub150 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud504\ub85c\uadf8\ub7a8\uc744 &#8216;\uac1d\uccb4&#8217;\ub77c\ub294 \ub3c5\ub9bd\uc801\uc778 \ub2e8\uc704\ub85c \uad6c\uc131\ud558\uc5ec \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uac1d\uccb4\ub294 \uc0c1\ud0dc(\uc18d\uc131)\uc640 \ub3d9\uc791(\uba54\uc11c\ub4dc)\uc744 \ud3ec\ud568\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc758 \ub85c\uc9c1\uc744 &hellip; \ub354 \ubcf4\uae30 \"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4\"","og_url":"https:\/\/atmokpo.com\/w\/43487\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-28T12:31:35+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/43487\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/43487\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4","datePublished":"2024-11-28T12:31:35+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/43487\/"},"wordCount":85,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud50c\ub7ec\ud130 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/43487\/","url":"https:\/\/atmokpo.com\/w\/43487\/","name":"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-28T12:31:35+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/43487\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/43487\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/43487\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[Dart \uc5b8\uc5b4\uac15\uc88c] 010. \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d (OOP) \uc18c\uac1c, \ucd94\uc0c1 \ud074\ub798\uc2a4\uc640 \uc778\ud130\ud398\uc774\uc2a4"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=43487"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43487\/revisions"}],"predecessor-version":[{"id":43488,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43487\/revisions\/43488"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=43487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=43487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=43487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}