{"id":364,"date":"2014-09-15T00:17:49","date_gmt":"2014-09-15T09:17:49","guid":{"rendered":"http:\/\/blog.box.kr\/?p=364"},"modified":"2014-09-15T00:17:49","modified_gmt":"2014-09-15T09:17:49","slug":"%ed%8e%8c%ea%b0%9d%ec%b2%b4%ec%a7%80%ed%96%a5%ed%95%a8%ec%88%98%ed%98%95-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d-%ec%96%b8%ec%96%b4-scala","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=364","title":{"rendered":"[\ud38c]\uac1d\uccb4\uc9c0\ud5a5+\ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 Scala"},"content":{"rendered":"<div class=\"subject\">\n<h1 style=\"font: 2.2em\/normal '\ub9d1\uc740 \uace0\ub515', gulim, 'Trebuchet MS', Verdana, sans-serif; margin: 0px; padding: 0px; color: #edbed7; letter-spacing: -1px; font-size-adjust: none; font-stretch: normal;\"><a href=\"http:\/\/skyul.tistory.com\/335\">\uac1d\uccb4\uc9c0\ud5a5+\ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 Scala<\/a><\/h1>\n<\/div>\n<div class=\"article\"><br style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px dashed #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\uc2a4\uce7c\ub77c(Scala)\ub294 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4\uc774\uba74\uc11c \ub3d9\uc2dc\uc5d0 \ud568\uc218 \uc5b8\uc5b4\uc774\ub2e4. \uc2a4\uce7c\ub77c\ub294 \uc790\ubc14\uc640 \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc790\ubc14\uac00\uc0c1\uba38\uc2e0(JVM) \uc704\uc5d0\uc11c \uc2e4\ud589\ub418\uba70 \uae30\uc874 \uc790\ubc14 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uadf8\ub300\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. \ubc18\ub300\ub85c \uc790\ubc14\ub85c \uc791\uc131\ub41c \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc2a4\uce7c\ub77c\ub85c \uc791\uc131\ub41c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\ub2e4. \ub2e4\ub978 JVML(JVM \uc5b8\uc5b4)\uc778 JRuby, Jython\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc2a4\uce7c\ub77c\ub294 \uc790\ubc14\uc758 \ud55c\uacc4\ub97c \uadf9\ubcf5\ud558\uae30 \uc704\ud574 \ucd9c\ud604\ud588\ub2e4. \ud2b9\ud788, \uc774\ubbf8 \uc124\uacc4\ub41c \ucef4\ud3ec\ub10c\ud2b8 \ub2e8\uc704\uc758 \uc790\ubc14 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub4e4\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uc7ac\uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ud568\uc218 \uc5b8\uc5b4\uc758 \ud2b9\uc9d5\uc778 \uace0\ucc28 \ud568\uc218, \ud328\ud134 \ub9e4\uce6d \ub4f1\uc774 \ud544\uc694\ud558\ub2e4\ub294 \uac83\uc774\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc790\ubc14\uc640\uc758 \ucc28\uc774\uc810\uc744 \ubd80\uac01\uc2dc\ucf1c \uc2a4\uce7c\ub77c\uc758 \ud2b9\uc9d5\uacfc \uc7a5\ub2e8\uc810\uc744 \uc0b4\ud3b4\ubcf4\ub824 \ud55c\ub2e4.\n<\/div>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc65c \uc0c8\ub85c\uc6b4 \uc5b8\uc5b4\uac00 \ud544\uc694\ud588\uc744\uae4c?<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \uc5b8\uc5b4\ub97c \ub9cc\ub4e0 \uc0ac\ub78c\uc740 GJ, Pizza \ud504\ub85c\uc81d\ud2b8 \ub4f1\uc73c\ub85c \uc720\uba85\ud55c \ub9c8\ud2f4 \uc624\ub354\uc2a4\ud0a4(Martin Odersky)\ub2e4. \uadf8\uac00 \uc8fc\ub3c4\ud55c GJ\uc640 Pizza\ub294 \uc790\ubc14 \uc5b8\uc5b4\uc5d0 \uc778\uc790 \ub2e4\ud615\uc131(parametric polymorphism)\uc744 \ucd94\uac00\ud55c \ub9ac\uc11c\uce58 \ud504\ub85c\uc81d\ud2b8\uc600\uace0 \uc774\ub7f0 \uacb0\uacfc\ubb3c\uc740 \uc774\ud6c4 \uc790\ubc14 5\uc758 \uc81c\ub124\ub9ad\uc2a4\uac00 \ub418\uc5c8\ub2e4. \ud558\uc9c0\ub9cc JVM\uc744 \ubcc0\uacbd\ud558\uc9c0 \uc54a\uace0 \ucef4\ud30c\uc77c\ub7ec \uae30\uc220\ub9cc\uc73c\ub85c \uad6c\ud604\ud55c \uc81c\ub124\ub9ad\uc2a4\ub294 \uc131\uacf5\uc774\ub77c\uace0 \ubcf4\uae30 \ud798\ub4e4\uc5c8\ub2e4. \uc624\ub354\uc2a4\ud0a4\ub294 \uc774\ub7f0 \uc811\uadfc\ubc95\uc5d0 \ud55c\uacc4\ub97c \ub290\ub07c\uace0, \ud568\uc218 \uc5b8\uc5b4\uc758 \uc7a5\uc810\uc744 \uc801\uadf9 \ubc18\uc601\ud55c \uc0c8\ub85c\uc6b4 JVML\uc744 \ub9cc\ub4e4\uc5c8\ub2e4. \uc774\ub807\uac8c \ub098\uc628 \uacb0\uacfc\ubb3c\uc774 \uc2a4\uce7c\ub77c\uc774\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\uc758 \ubaa9\ud45c\ub294 \ucef4\ud3ec\ub10c\ud2b8 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub97c \uc798 \uc9c0\uc6d0\ud558\uae30 \uc704\ud55c \uc5b8\uc5b4\uc774\ub2e4. \uc790\ubc14\ub294 \ub300\uaddc\ubaa8 \uac1c\ubc1c \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc8fc\ub85c \uc0ac\uc6a9\ub418\ub294 \uc5b8\uc5b4\uc774\uace0, \uac01\uc885 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uac00\uc838\uc640\uc11c \uc870\ud569\ud574 \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0\uac00 \ub2e4\ub978 \uc5b8\uc5b4\ubcf4\ub2e4 \uc555\ub3c4\uc801\uc73c\ub85c \ub9ce\ub2e4. \ud558\uc9c0\ub9cc \uc790\ubc14 \uc5b8\uc5b4 \uc790\uccb4\ub294 \uc18c\ud615 \ub514\ubc14\uc774\uc2a4\ub97c \uc9c0\uc6d0\ud558\uae30 \uc704\ud55c \uc624\ud06c(Oak)\ub77c\ub294 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \ucd9c\ubc1c\ud588\uace0, \uc6f9\uc5d0\uc11c\ub3c4 \uc18c\ud615 \uc560\ud50c\ub9bf \uc791\uc131\uc744 \uc8fc\ub85c \uc0ac\uc6a9\ub418\uc5c8\ub2e4. \uc774\ub7f0 \uc790\ubc14\ub97c \uac01\uc885 \ud504\ub808\uc784\uc6cc\ud06c\ub85c \ud3ec\uc7a5\ud574 \ub300\ud615 \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc0ac\uc6a9\ud558\uae30 \uc2dc\uc791\ud558\ub2e4\ubcf4\ub2c8 \uc5b8\uc5b4\uc758 \ud55c\uacc4\ub85c \uc778\ud574 \uc5ec\ub7ec \ubb38\uc81c\uc810\uc744 \uacaa\uac8c \ub418\uc5c8\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ucef4\ud3ec\ub10c\ud2b8 \uc9c0\uc6d0 \uc5b8\uc5b4\ub294 2\uac00\uc9c0 \ud2b9\uc9d5\uc744 \uac00\uc838\uc57c \ud55c\ub2e4. \uccab\uc9f8, \uaddc\ubaa8 \uac00\ubcc0\uc801(scalable)\ud574\uc57c \ud55c\ub2e4. \ubc14\uafd4 \ub9d0\ud574, \ucef4\ud3ec\ub10c\ud2b8\uc758 \ud06c\uae30\uc640 \uad00\uacc4\uc5c6\uc774 \ud56d\uc0c1 \uac19\uc740 \ubc29\ubc95\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc5b4\uc57c \ud55c\ub2e4\ub294 \uac83\uc774\ub2e4. \ub610\ud55c, \uc5b8\uc5b4\uc5d0 \ubcf5\uc7a1\ud55c \uc694\uc18c\ub97c \ub354\ud558\uae30 \ubcf4\ub2e4\ub294 \ucd94\uc0c1\ud654(abstraction), \uc870\ud569(composition), \ubd84\ud574(decomposition)\uc5d0 \ucd08\uc810\uc744 \ub9de\ucdb0\uc57c \ud568\uc744 \uc758\ubbf8\ud55c\ub2e4. \ub458\uc9f8, \uc774\ub7f0 \ud2b9\uc9d5\uc744 \ub9cc\uc871\uc2dc\ud0a4\uae30 \uc704\ud574\uc11c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub294 \uac1d\uccb4\uc9c0\ud5a5\uc801\uc77c \ubfd0\ub9cc \uc544\ub2c8\ub77c \ud568\uc218\ud615\uc774\uc5b4\uc57c \ud55c\ub2e4.<\/span><\/p>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">HelloWorld<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub97c \ubcf8\uaca9\uc801\uc73c\ub85c \uacf5\ubd80\ud558\uae30\uc5d0 \uc55e\uc11c \uc2a4\uce7c\ub77c\uc758 \uae30\ubcf8\uc801\uc778 \ubb38\ubc95\uacfc \ucde8\ud5a5\uc744 \ub290\ub084 \uc218 \uc788\ub3c4\ub85d \uba3c\uc800 HelloWorld \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud574\ubcf4\uc790. \ube44\uad50\ub97c \uc704\ud574 \uc790\ubc14 HelloWorld\ub97c \ub098\ub780\ud788 \ubc30\uce58\ud588\ub2e4.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">object HelloWorld {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def main(args: Array[String]) {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 println(&#8220;Hello, world!&#8221;)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 }<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">}<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">Scala HelloWorld<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">class HelloWorld {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 public static void main(String[] args) {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 System.out.println(&#8220;Hello World!&#8221;);<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 }<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">}<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">Java HelloWorld<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc77c\ub2e8 \uac00\uc7a5 \ud070 \ucc28\uc774\uc810\uc73c\ub85c HelloWorld \ud074\ub798\uc2a4\ub97c \uc120\uc5b8\ud560 \ub54c \uc2a4\uce7c\ub77c \ud504\ub85c\uadf8\ub7a8\uc740 object\ub77c\ub294 \ud0a4\uc6cc\ub4dc\ub97c \uc4f0\uace0 \uc788\ub2e4. \uc2a4\uce7c\ub77c\ub294 class\uc640 object\ub97c \uad6c\ubd84\ud558\ub294\ub370, object\ub294 \uc2f1\uae00\ud1a4(singleton)\uc73c\ub85c \ud074\ub798\uc2a4\uc758 \uac1d\uccb4\ub97c \ud558\ub098\ub9cc \uc0dd\uc131\ud568\uc744 \uc758\ubbf8\ud55c\ub2e4. \uc2a4\uce7c\ub77c HelloWorld\ub294 \uc2f1\uae00\ud1a4\uc774\uae30 \ub54c\ubb38\uc5d0 main \uba54\uc11c\ub4dc\ub97c \uc120\uc5b8\ud560 \ub54c\ub3c4 static\uc774\ub77c\ub294 \ud0a4\uc6cc\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc9c0 \uc54a\ub294\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc790\ubc14\uc5d0\uc11c\ub294 \ud654\uba74\uc5d0 \ubb38\uc790\uc5f4\uc744 \ucd9c\ub825\ud558\uae30 \uc704\ud574 System.out.println\uc744 \uc0ac\uc6a9\ud588\ub294\ub370, \uc2a4\uce7c\ub77c\ub294 \uac04\uacb0\ud558\uac8c println\uc774\ub77c\uace0 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. \uc790\ubc14\ub294 \ubb38\uc7a5\uc758 \ub05d\uc5d0 \uc138\ubbf8\ucf5c\ub860\uc744 \ud56d\uc0c1 \ubd99\uc5ec\uc918\uc57c \ud558\ub294\ub370, \uc2a4\uce7c\ub77c\ub294 \uc138\ubbf8\ucf5c\ub860\uc774 \uc5c6\ub2e4. \uc790\ubc14\ub294 \ud0c0\uc785\uc744 \uba3c\uc800 \uc4f0\uace0 \ubcc0\uc218\ub97c \uc120\uc5b8\ud558\ub294\ub370, \uc2a4\uce7c\ub77c\ub294 \ubcc0\uc218 : \ud0c0\uc785 \ud615\ud0dc\ub85c \ubcc0\uc218\ub97c \uc120\uc5b8\ud55c\ub2e4. \uc790\ubc14\uc5d0\uc11c String[]\uc778 \ubb38\uc790\uc5f4 \ubc30\uc5f4\uc740 \uc2a4\uce7c\ub77c\uc5d0\uc11c\ub294 Array[String]\uc73c\ub85c \uc4f4\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \uc778\ud130\ud504\ub9ac\ud130\uc640 \ucef4\ud30c\uc77c\ub7ec<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub97c \uc124\uce58\ud558\uace0 \uc2a4\uce7c\ub77c \ubc14\uc774\ub108\ub9ac(scala)\ub97c \uc2e4\ud589\uc2dc\ud0a4\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uc778\ud130\ud504\ub9ac\ud130 \ubaa8\ub4dc\ub85c \ub3d9\uc791\ud55c\ub2e4. \uc778\ud130\ud504\ub9ac\ud130 \ubaa8\ub4dc\uc5d0\uc11c\ub294 \uc785\ub825\ub418\ub294 \uc2dd\uc744 \uacc4\uc0b0\ud574\uc11c \uacb0\uacfc\ub97c \ubcf4\uc5ec\uc900\ub2e4. \uc774\ud6c4 \uc608\uc81c\uc5d0\uc11c scala&gt;\uac00 \ub098\uc624\uba74 \uc778\ud130\ud504\ub9ac\ud130\uc5d0 \uc785\ub825\ud55c \uac83\uc73c\ub85c \uc0dd\uac01\ud558\uba74 \ub41c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">C:UsersAdministrator&gt;scala<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">Welcome to Scala version 2.7.0-final (Java HotSpot(TM) Client VM, Java 1.6.0_10-<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">beta).<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">Type in expressions to have them evaluated.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">Type :help for more information.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; 3+5<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">res1: Int = 8<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \uc778\ud130\ud504\ub9ac\ud130<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \ucef4\ud30c\uc77c\ub7ec(scalac)\ub294 \uc2a4\uce7c\ub77c \ucf54\ub4dc\ub97c \uc790\ubc14 \ud074\ub798\uc2a4\ud30c\uc77c(\ubc14\uc774\ud2b8\ucf54\ub4dc)\ub85c \ucef4\ud30c\uc77c\ud574\uc900\ub2e4. \uc0ac\uc6a9\ubc95\uc740 \uc790\ubc14 \ucef4\ud30c\uc77c\ub7ec(javac)\uc640 \uc720\uc0ac\ud558\ub2e4. \uc704 HelloWorld.scala\ub77c\ub294 \ucef4\ud30c\uc77c\ud558\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uba85\ub839\uc744 \ub0b4\ub824\uc8fc\uba74 \ub41c\ub2e4.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">C:UsersAdministrator&gt;scalac HelloWorld.scala<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\uc2a4\uce7c\ub77c \ucef4\ud30c\uc77c\ub7ec<\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ucef4\ud30c\uc77c\ub41c \uc2a4\uce7c\ub77c \ud504\ub85c\uadf8\ub7a8\uc744 \uc2e4\ud589\uc2dc\ud0a4\ub824\uba74 scala\ub97c \uc774\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">C:UsersAdministrator&gt;scala HelloWorld<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">Hello, world!<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\uc2a4\uce7c\ub77c \ud504\ub85c\uadf8\ub7a8\uc758 \uc2e4\ud589<\/p>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc21c\uc218 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc790\ubc14\uc758 \ud0c0\uc785\uc740 \uae30\ubcf8 \ud0c0\uc785(primitive type)\uacfc \ub808\ud37c\ub7f0\uc2a4 \ud0c0\uc785(reference type)\uc73c\ub85c \ub098\ub258\uace0, \uc774\uc9c4(boolean), \uc815\uc218(int), \ubd80\ub3d9\uc18c\uc218\uc810(float, double) \ub4f1 \uae30\ubcf8 \ud0c0\uc785\uc740 \uac1d\uccb4\uac00 \uc544\ub2c8\ub2e4. \uc774\ub7f0 \ubc29\uc2dd\uc740 \uc131\ub2a5 \ud5a5\uc0c1\uc5d0\ub294 \ud070 \ub3c4\uc6c0\uc774 \ub418\uc9c0\ub9cc, \uae30\ubcf8 \ud0c0\uc785\uacfc \ub808\ud37c\ub7f0\uc2a4 \ud0c0\uc785 \uc0ac\uc774\ub97c \ubcc0\ud658\ud558\ub294 \ubc15\uc2f1(boxing), \uc5b8\ubc15\uc2f1(unboxing) \ub4f1\uc758 \ubb38\uc81c\ub85c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uac00 \ubcf5\uc7a1\ud574\uc9c0\ub294 \ubb38\uc81c\uac00 \uc788\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc790\ubc14 5\uc5d0\ub294 \uae30\ubcf8 \ud0c0\uc785\uacfc \ub808\ud37c\ub7f0\uc2a4 \ud0c0\uc785\uc744 \ud544\uc694\uc5d0 \ub530\ub77c \uc790\ub3d9\ubcc0\ud658\ud574\uc8fc\ub294 \uc624\ud1a0\ubc15\uc2f1, \uc624\ud1a0\uc5b8\ubc15\uc2f1 \uae30\ub2a5\uc774 \ub4e4\uc5b4\uac14\uc9c0\ub9cc, \uae30\ubcf8 \ud0c0\uc785\uacfc \ub808\ud37c\ub7f0\uc2a4 \ud0c0\uc785\uc73c\ub85c \uc774\uc6d0\ud654\ub41c \ud0c0\uc785 \uc2dc\uc2a4\ud15c \uc790\uccb4\ub294 \ub2ec\ub77c\uc9c0\uc9c0 \uc54a\uc558\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ubc18\ub300\ub85c \uc2a4\uce7c\ub77c\ub294 \uc2a4\ubab0\ud1a0\ud06c, \ub8e8\ube44\uc640 \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc21c\uc218 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4\uc774\ub2e4. \uc2a4\uce7c\ub77c\ub294 \uc815\uc218 5\uac00 scala.Int \ud074\ub798\uc2a4\uc758 \uac1d\uccb4\uc774\uba70, +, -, , *, \/ \ub4f1\uc758 \uc5f0\uc0b0\uc790\ub294 \ud558\ub098\uc758 \uc778\uc790\ub97c \ubc1b\ub294 \uba54\uc11c\ub4dc\ub2e4. \uc608\ub97c \ub4e4\uc5b4 1 + 2 * 3 \/ x \uac19\uc740 \uc218\uc2dd\uc740 1.+(2.*3.\/(x)))\uc640 \uac19\uc774 \uc804\ubd80 \uba54\uc11c\ub4dc \ud638\ucd9c\ub85c \ubcc0\uacbd\ub41c\ub2e4. \uc2a4\uce7c\ub77c\uc5d0\uc11c\ub294 \uc790\ubc14\uc5d0\uc11c \ud2b9\uc218 \ubb38\uc790\ub85c \ucde8\uae09\ud558\ub358 +, -, *, \/ \ub4f1\uc758 \ubb38\uc790\ub3c4 \uba54\uc11c\ub4dc \uc774\ub984\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc74c\uc744 \uc758\ubbf8\ud55c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc544\ub798 \uadf8\ub9bc\uc5d0\uc11c \ubcfc \uc218 \uc788\ub4ef\uc774 \uc2a4\uce7c\ub77c\uc758 \ud074\ub798\uc2a4 \uacc4\uce35\ub3c4\ub294 scala.Any\ub97c \ucd5c\uc0c1\uc704\ub85c \ud574\uc11c \uac12(scala.AnyVal)\uacfc \ub808\ud37c\ub7f0\uc2a4(scala.AnyRef)\ub97c \ud558\ub098\uc758 \uacc4\uce35\uc73c\ub85c \uc544\uc6b0\ub974\uace0 \uc788\ub2e4.<\/span><\/p>\n<div class=\"imageblock center\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; margin: 0px 0px 15px; padding: 0px; border: currentColor; text-align: center; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; clear: both; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span dir=\"http:\/\/cfs14.tistory.com\/original\/18\/tistory\/2008\/12\/01\/00\/11\/4932ad2c8146f\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/cfs14.tistory.com\/image\/18\/tistory\/2008\/12\/01\/00\/11\/4932ad2c8146f\" alt=\"\" width=\"540\" height=\"348\" \/><\/span>\n<\/div>\n<p><span style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515'; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\uc2a4\uce7c\ub77c\uc758 \ud074\ub798\uc2a4 \uacc4\uce35\ub3c4<\/span><\/p>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud568\uc218 \uc5b8\uc5b4<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub294 \ubaa8\ub4e0 \ud568\uc218\ub97c \uac1d\uccb4\ub85c \ucde8\uae09\ud55c\ub2e4. \ubc14\uafd4 \ub9d0\ud574, \uc2a4\uce7c\ub77c\uc5d0\uc11c \ud568\uc218\ub97c \ud568\uc218\uc758 \uc778\uc790\ub85c \ub118\uae38 \uc218\ub3c4 \uc788\uace0, \ud568\uc218\uc758 \ub9ac\ud134 \uac12\uc73c\ub85c \ud568\uc218\uac00 \ub9ac\ud134\ub420 \uc218\ub3c4 \uc788\uc74c\uc744 \uc758\ubbf8\ud55c\ub2e4. \uc2a4\uce7c\ub77c \uc785\ubb38\uc11c\uc5d0 \uc788\ub294 \uac04\ub2e8\ud55c \uc608\uc81c\ub97c \ud558\ub098 \uc0b4\ud3b4\ubcf4\uc790.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">object Timer {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def oncePerSecond(callback: () =&gt; unit) {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 while (true) { callback(); Thread sleep 1000 }<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 }<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def timeFlies() {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 println(&#8220;time flies like an arrow&#8230;&#8221;)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 }<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def main(args: Array[String]) {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 oncePerSecond(timeFlies)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 }<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">}<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud568\uc218\ub97c \ud568\uc218\uc758 \uc778\uc790\ub85c \ub118\uae30\ub294 \uc608\uc81c<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc704 \uc608\uc81c\ub294 Timer\ub77c\ub294 \ud074\ub798\uc2a4\ub97c \ub9cc\ub4e4\uc5b4, main\uc5d0\uc11c oncePerSecond\ub77c\ub294 \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud560 \ub54c \ub610 \ub2e4\ub978 \uba54\uc11c\ub4dc\uc778 timeFlies\ub97c \uc778\uc790\ub85c \ub118\uaca8\uc900 \uc608\uc81c\uc774\ub2e4. oncePerSecond \ud568\uc218\uc758 \uc778\uc790\ub97c \ubcf4\uba74 callback\uc774 () =&gt; unit\uc774\ub77c\ub294 \ud0c0\uc785\uc744 \uac00\uc9d0\uc744 \uc54c \uc218 \uc788\ub294\ub370, ()\ub294 \uc778\uc790\ub97c \ud558\ub098\ub3c4 \ubc1b\uc9c0 \uc54a\uc74c\uc744 \ub73b\ud558\uace0, unit\uc740 \uc790\ubc14\uc758 void\uc640 \uc720\uc0ac\ud558\uac8c \ub9ac\ud134 \uac12\uc774 \uc5c6\uc74c\uc744 \ub73b\ud55c\ub2e4. \uc704 \ud504\ub85c\uadf8\ub7a8\uc740 1\ucd08\ub9c8\ub2e4 \ud55c\ubc88\uc529 callback\uc73c\ub85c \ub118\uc5b4\uc628 timeFlies \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud558\uac8c \ub41c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc774 \uc608\uc81c\uc5d0\uc11c \ud558\ub098 \uc7ac\ubbf8\uc788\ub294 \uc0ac\uc2e4\uc740 Thread\uc758 sleep \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud560 \ub54c Thread sleep 1000\ub77c\uace0 \uc801\uc740 \ubd80\ubd84\uc774\ub2e4. \uc2a4\uce7c\ub77c\uc5d0\uc11c\ub294 \uc778\uc790\uac00 \ud558\ub098\uc778 \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud560 \ub54c, \uba54\uc11c\ub4dc \ud638\ucd9c\uc790(.)\ub97c \uc0dd\ub7b5\ud558\uace0 \uc704\uc640 \uac19\uc774 \uc801\uc744 \uc218 \uc788\ub2e4. \uc55e\uc11c +, &#8211; \ub4f1\uc774 \uba54\uc11c\ub4dc\ub77c\uace0 \uc5b8\uae09\ud588\ub294\ub370 1.+(2)\uac00 \uc544\ub2cc 1 + 2\ub85c \uc801\uc744 \uc218 \uc788\ub294 \uc774\uc720\ub3c4 \ub9c8\ucc2c\uac00\uc9c0\ub2e4. 1 + 2\uc5d0\uc11c 1\uc740 \ub9ac\uc2dc\ubc84 \uc624\ube0c\uc81d\ud2b8(receiver object), +\ub294 \uba54\uc11c\ub4dc, 2\ub294 + \uba54\uc11c\ub4dc\uc758 \uc778\uc790\uc778\ub370, \uc2a4\uce7c\ub77c\uc5d0\uc11c\ub294 \uac04\uacb0\ud568\uc744 \uc704\ud574 1.+(2)\ub77c\uace0 \uc801\ub294 \ub300\uc2e0\uc5d0 1 + 2\ub77c\uace0 \uc801\uc744 \uc218 \uc788\uac8c \ud5c8\uc6a9\ud55c \uac83\uc774\ub2e4.<\/span><\/p>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc815\uc801 \ud0c0\uc785 \uc2dc\uc2a4\ud15c<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub294 \uc790\ubc14\uc5d0 \ube44\ud574 \uac04\uacb0\ud55c \ubb38\ubc95\uc744 \uc81c\uacf5\ud558\uc9c0\ub9cc, \uac15\ub825\ud55c \uc815\uc801 \ud0c0\uc774\ud551\uc744 \uc81c\uacf5\ud55c\ub2e4. \uc2a4\uce7c\ub77c\ub294 \ub3d9\uc801 JVML \uc5b8\uc5b4\uc778 \uadf8\ub8e8\ube44, JRuby, Jython \ub4f1\uacfc \ub2ec\ub9ac \ucef4\ud30c\uc77c \ud0c0\uc784\uc5d0 \ubaa8\ub4e0 \ud0c0\uc785 \uc624\ub958\ub97c \uc7a1\uc544\ub0bc \uc218 \uc788\ub2e4. \uc2a4\uce7c\ub77c\uac00 \uc5ec\ub7ec \ucef4\ud3ec\ub10c\ud2b8\ub97c \ud1b5\ud569\ud558\uae30 \uc704\ud574 \ub9cc\ub4e4\uc5b4\uc9c4 \uc5b8\uc5b4\ub77c\ub294 \uc810\uc744 \uac10\uc548\ud558\uba74 \ud1b5\ud569 \uc624\ub958\ub97c \uc870\uae30\uc5d0 \uc7a1\uc544\ub0b4\ub294 \uc815\uc801 \ud0c0\uc785 \uc2dc\uc2a4\ud15c\uc740 \uc790\uc5f0\uc2a4\ub7ec\uc6b4 \uc120\ud0dd\uc774\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub300\uc2e0 \uc2a4\uce7c\ub77c\ub294 \uac19\uc740 \uc815\uc801 \ud0c0\uc774\ud551\uc744 \uc0ac\uc6a9\ud558\ub294 \uc790\ubc14\uc640 \ub2ec\ub9ac \uacbd\uc6b0\uc5d0 \ub530\ub77c \ud0c0\uc785\uc744 \uc0dd\ub7b5\ud560 \uc218 \uc788\ub2e4. \uc0ac\uc6a9\uc790\uac00 \ubaa8\ub4e0 \ud0c0\uc785\uc744 \uc801\uc5b4\uc8fc\uc9c0 \uc54a\ub354\ub77c\ub3c4 \uc2a4\uce7c\ub77c \ucef4\ud30c\uc77c\ub7ec\uac00 \ud0c0\uc785 \ucd94\ub860(type inference)\uc744 \ud1b5\ud574 \ubd80\uc871\ud55c \ubd80\ubd84\uc744 \ucc44\uc6cc\uc8fc\uae30 \ub54c\ubb38\uc774\ub2e4. \ud0c0\uc785 \ucd94\ub860\uc740 \uc790\ubc14 \uc2a4\ud0c0\uc77c\uc758 \ubb38\ubc95\uc744 \uac00\uc9c4 \uc2a4\uce7c\ub77c\ub97c \ub3d9\uc801 \ud0c0\uc774\ud551\ud558\ub294 \uadf8\ub8e8\ube44\ub098 \ub8e8\ube44\ucc98\ub7fc \uac04\uacb0\ud558\uac8c \ub9cc\ub4e4\uc5b4\uc8fc\ub294 \ud575\uc2ec \uc694\uc18c\uc774\ub2e4. (\uc2a4\uce7c\ub77c \ucf54\ub4dc\ub294 \uac19\uc740 \uc77c\uc744 \ud558\ub294 \uc790\ubc14 \ucf54\ub4dc\uc758 1\/3 \uc815\ub3c4 \ubc16\uc5d0 \uc548 \ub41c\ub2e4.)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc77c\ub840\ub85c, \uc815\uc218 2\uac1c\ub97c \ub354\ud574\uc11c \ub3cc\ub824\uc8fc\ub294 add \ud568\uc218\ub97c \uc0dd\uac01\ud574\ubcf4\uc790. add \ud568\uc218\ub97c \uc815\uc758\ud560 \ub54c x\uc640 y\ub294 \uc815\uc218 \ud0c0\uc785\uc73c\ub85c \uc815\uc758\ub97c \ud574\uc92c\uc9c0\ub9cc add \ud568\uc218\uc758 \ub9ac\ud134 \ud0c0\uc785\uc740 \uc0dd\ub7b5\ud588\ub2e4. \ud558\uc9c0\ub9cc \uc2a4\uce7c\ub77c \ucef4\ud30c\uc77c\ub7ec\uac00 \ubd24\uc744 \ub54c \uc815\uc218 x\uc640 \uc815\uc218 y\ub97c \ub354\ud55c \uac12\uc744 \ub3cc\ub824\uc8fc\ubbc0\ub85c \ub9ac\ud134 \ud0c0\uc785\uc740 \uc790\ub3d9\uc73c\ub85c Int\uac00 \ub41c\ub2e4\ub294 \uc0ac\uc2e4\uc744 \ucd94\ub860\ud574\ub0bc \uc218 \uc788\ub2e4. \uc774 \ud568\uc218\ub97c \uc778\ud130\ud504\ub9ac\ud130\uc5d0 \uc785\ub825\ud574\ubcf4\uba74, \uc778\ud130\ud504\ub9ac\ud130\uac00 add\uc758 \ud0c0\uc785\uc744 (Int,Int)Int\ub77c\uace0 \uc815\ud655\ud788 \ucd94\ub860\ud574\ub0c4\uc744 \ubcfc \uc218 \uc788\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; def add(x: Int, y: Int) = x + y<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">add: (Int,Int)Int<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \ud0c0\uc785 \ucd94\ub860 (\ub9ac\ud134 \ud0c0\uc785\uc744 \ucd94\ub860\ud55c \uacbd\uc6b0)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ubb3c\ub860 \ub2e4\uc74c\uacfc \uac19\uc774 \ud0c0\uc785\uc744 \ubaa8\ub450 \uc801\uc5b4\uc918\ub3c4 \ubb34\ubc29\ud558\ub2e4.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; def foo(x: Int, y: Int): Int = x + y<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">foo: (Int,Int)Int<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \ud0c0\uc785 \ucd94\ub860 (\ubaa8\ub4e0 \ud0c0\uc785\uc744 \uc368\uc900 \uacbd\uc6b0)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud558\uc9c0\ub9cc \ub3d9\uc801 \ud0c0\uc774\ud551\ud558\ub294 \uc5b8\uc5b4\uc640 \ub2ec\ub9ac \ubaa8\ub4e0 \ud0c0\uc785\uc744 \uc0dd\ub7b5\ud558\uba74 \ucef4\ud30c\uc77c\ub7ec\uac00 \ud0c0\uc785\uc744 \ucd94\ub860\ud560 \uc5c6\uae30 \ub54c\ubb38\uc5d0 \uc624\ub958\uac00 \ubc1c\uc0dd\ud55c\ub2e4. \uc2a4\uce7c\ub77c \ucf54\ub529\uc744 \ucc98\uc74c \uc2dc\uc791\ud55c \uc0ac\ub78c\ub4e4\uc740 \ud0c0\uc785\uc744 \uc5b4\ub290 \uc815\ub3c4 \uc0dd\ub7b5\ud574\ub3c4 \ub418\ub294\uc9c0 \uc54c\uae30 \uc5b4\ub824\uc6b4\ub370, \uc2dc\ud589\ucc29\uc624\ub97c \ud1b5\ud574 \ucef4\ud30c\uc77c\ub7ec\uac00 \uc5b4\ub514\uae4c\uc9c0 \ud0c0\uc785 \ucd94\ub860\uc744 \ud574\uc8fc\ub294\uc9c0 \uac10\uc744 \uc7a1\ub294 \uc77c\uc774 \ud544\uc694\ud558\ub2e4. \ub2e8, \ucef4\ud30c\uc77c\ub7ec\uac00 \ucd94\ub860\ud560 \uc218 \uc788\ub354\ub77c\ub3c4 \ud544\uc694\ud55c \uacbd\uc6b0\uc5d0\ub294 \uc801\uc808\ud788 \ud0c0\uc785\uc744 \uc368\uc8fc\uba74 \ucf54\ub4dc\uc758 \uac00\ub3c5\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc74c\uc744 \uba85\uc2ec\ud558\uc790.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; def foo(x, y) = x + y<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">&lt;console&gt;:1: error: &#8216;:&#8217; expected but &#8216;,&#8217; found.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def foo(x, y) = x + y<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ^<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">&lt;console&gt;:1: error: identifier expected but eof found.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def foo(x, y) = x + y<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ^<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \ud0c0\uc785 \ucd94\ub860 (\uc2e4\ud328)<\/span><\/p>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc120\uc5b8(val\/var\/def)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub294 \ubcc0\uc218\ub97c \uc120\uc5b8\ud560 \ub54c \uc790\ubc14\ucc98\ub7fc \ubaa8\ub4e0 \ud0c0\uc785\uc744 \ub2e4 \uc801\uc5b4\uc904 \ud544\uc694\uac00 \uc5c6\ub2e4. \ubcc0\uc218 x\ub97c \uc120\uc5b8\ud558\uace0 1\uc744 \ub123\uc5b4\uc8fc\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">var<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud0a4\uc6cc\ub4dc\ub97c \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">var<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc740 \uc790\ubc14 \ubcc0\uc218\uc640 \ub3d9\uc77c\ud558\ub2e4.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; var x = 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">x: Int = 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; x = x + 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">x: Int = 2<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">var\uc758 \uc0ac\uc6a9<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub294<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">var<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc678\uc5d0\ub3c4<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">val<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc744 \ud1b5\ud574 \uac12\uc744 \uc120\uc5b8\ud560 \uc218 \uc788\ub294\ub370,<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">val<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc740<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">var<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub85c \uc120\uc5b8\ub41c \ubcc0\uc218\uc640 \ub2ec\ub9ac \uac12\uc774 \ubcc0\ud558\uc9c0 \uc54a\ub294\ub2e4.<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">val<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub85c \ub9cc\ub4e0 x\uc5d0 x + 1\uc774\ub77c\ub294 \uc0c8\ub85c\uc6b4 \uac12\uc744 \uc9d1\uc5b4\ub123\uc73c\uba74 \ub2e4\uc74c\ucc98\ub7fc x\ub294 \ubcc0\uacbd \ubd88\uac00\ub2a5\ud55c \uac12(immutable value)\uc774\ub77c\ub294 \uc624\ub958\uac00 \ubc1c\uc0dd\ud55c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; val x = 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">x: Int = 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; x = x + 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">&lt;console&gt;:7: error: assignment to immutable value<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 x = x + 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ^<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">val\uc758 \uc0ac\uc6a9<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\uc5d0\ub294<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">var\/val<\/span><span lang=\"EN-US\"><span class=\"Apple-converted-space\">\u00a0<\/span>\uc678\uc5d0\ub3c4 \ud568\uc218 \uac1d\uccb4\ub97c \uc120\uc5b8\ud558\ub294 \ub370 \uc0ac\uc6a9\ud558\ub294<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">def<\/span><span lang=\"EN-US\"><span class=\"Apple-converted-space\">\u00a0<\/span>\ud0a4\uc6cc\ub4dc\uac00 \uc788\ub2e4.<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">def<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub294 \ub2e4\uc74c\ucc98\ub7fc<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">val<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \ubcc0\ud558\uc9c0 \uc54a\ub294 \uac12\uc744 \uc120\uc5b8\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; def x = 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">x: Int<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; x = x + 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">&lt;console&gt;:7: error: value x_= is not a member of object $iw<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 x = x + 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 ^<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">def\uc758 \uc0ac\uc6a9<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">val<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uacfc<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">def<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc758 \ucc28\uc774\ub294 \uc5f0\uc0b0\uc744 \ud558\ub294 \uc2dc\uc810\uc5d0 \uc788\ub2e4.<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">val<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc740<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">val<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc744 \uc120\uc5b8\ud558\ub294 \uc2dc\uc810\uc5d0 \uc6b0\ubcc0\uc744 \uacc4\uc0b0\ud574\uc11c \uac12\uc744 \ud560\ub2f9\ud558\ub294 \ubc18\uba74\uc5d0<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">def<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub294 \uc2e4\uc81c\ub85c \uc0ac\uc6a9\ub418\ub294 \uc2dc\uc810\ub9c8\ub2e4 \uc6b0\ubcc0\uc744 \uc0c8\ub85c \uacc4\uc0b0\ud55c\ub2e4. \ub2e4\uc74c \uc608\uc81c\ub294 \uc774 \ucc28\uc774\ub97c \ubd84\uba85\ud558\uac8c \ubcf4\uc5ec\uc900\ub2e4.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; var x = 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">x: Int = 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; val y = x + 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">y: Int = 2<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; def z = x + 1<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">z: Int<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; z<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">res13: Int = 2<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; x = 2<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">x: Int = 2<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; y<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">res15: Int = 2<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">scala&gt; z<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">res16: Int = 3<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">var\uacfc def\uc758 \ucc28\uc774<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc704 \uc608\uc81c\uc5d0\uc11c<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">var<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub85c \uc120\uc5b8\ud55c \ubcc0\uc218 x\uc5d0 1\uc744 \ub123\uc740 \ub2e4\uc74c\uc5d0 y\uc640 z \ubaa8\ub450 x + 1\ub85c \uc815\uc758\ud574\uc8fc\uc5c8\ub2e4. \ub2e4\ub9cc y\ub294 val\uc744 z\ub294<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">def<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub97c \uc0ac\uc6a9\ud574\uc11c \uc120\uc5b8\ud558\uc600\ub2e4. \uc77c\ub2e8 val y\ub294 \uc120\uc5b8\ud558\ub294 \uc21c\uac04\uc5d0 \uac12\uc774 2\uc784\uc744 \ud45c\uc2dc\ud574\uc900 \ubc18\uba74\uc5d0 def z\ub97c \uc120\uc5b8\ud588\uc744 \ub54c\ub294 \ud0c0\uc785\uc774 Int\ub77c\ub294 \uc0ac\uc2e4\ub9cc \uc54c\ub824\uc8fc\uace0 \uac12\uc744 \uacc4\uc0b0\ud558\uc9c0 \uc54a\uc558\uc74c\uc744 \uc54c \uc218 \uc788\ub2e4. z\ub97c \uc2e4\uc81c\ub85c \uc0ac\uc6a9\ud588\uc744 \ub54c 2\ub85c \uacc4\uc0b0\ud574\uc900\ub2e4. \uc774\ud6c4 \ubcc0\uc218 x\uc758 \uac12\uc744 2\ub85c \ubcc0\uacbd\ud588\uc744 \ub54c, y\ub294 \uc774\ubbf8 \uc120\uc5b8\ud55c \uc2dc\uc810\uc5d0\uc11c \uacc4\uc0b0\uc774 \ub05d\ub0ac\uc73c\ubbc0\ub85c \uac12\uc774 \ubcc0\uacbd\ub418\uc9c0 \uc54a\uace0 \uc5ec\uc804\ud788 2\uc778 \ubc18\uba74\uc5d0 z\ub294 \ub2e4\uc2dc x + 1\uc744 \uc774 \uc2dc\uc810\uc5d0\uc11c \uc0c8\ub85c \uacc4\uc0b0\ud558\uae30 \ub54c\ubb38\uc5d0 x \uac12\uc744 2\ub85c \uacc4\uc0b0\ud574\uc11c 3\uc744 \ub3cc\ub824\uc90c\uc744 \ubcfc \uc218 \uc788\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud074\ub798\uc2a4<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\uc758 \ud074\ub798\uc2a4\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \uc790\ubc14\uc640 \uc720\uc0ac\ud558\ub2e4. \ub2e4\ub9cc \ubcc4\ub3c4\uc758 \uc0dd\uc131\uc790 \uc5c6\uc774 \ud074\ub798\uc2a4 \uc774\ub984 \uc606\uc5d0 \uac1d\uccb4 \uc0dd\uc131 \uc2dc \uc5b4\ub5a4 \uc778\uc790\ub97c \ubc1b\uc744 \uac83\uc778\uc9c0 \uc368\uc900\ub2e4\ub294 \ucc28\uc774\uac00 \uc788\ub2e4. \uc544\ub798 Person \ud074\ub798\uc2a4\ub294 \uc131\uacfc \uc774\ub984\uc744 \uc785\ub825\ubc1b\ub294 \uac04\ub2e8\ud55c \ud074\ub798\uc2a4\uc774\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">class Person(fname: String, lname: String) {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def firstname() = fname<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def lastname() = lname<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 override def toString() = firstname() + &#8221; &#8221; + lastname()<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">}<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \ud074\ub798\uc2a4\uc758 \uc608<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">toString \uba54\uc11c\ub4dc\ub294 java.lang.Object\uc758 toString \uba54\uc11c\ub4dc\ub97c \uc624\ubc84\ub77c\uc774\ub4dc(override)\ud55c \uac83\uc774\ub2e4. \uc2a4\uce7c\ub77c\ub294 \uc0c1\uc704 \ud074\ub798\uc2a4\uc758 \uba54\uc11c\ub4dc\ub97c \uc624\ubc84\ub77c\uc774\ub4dc\ud560 \ub54c \uba85\uc2dc\uc801\uc73c\ub85c<span class=\"Apple-converted-space\">\u00a0<\/span><\/span><span lang=\"EN-US\">override<\/span><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub77c\ub294 \ud0a4\uc6cc\ub4dc\ub97c \uc368\uc918\uc57c \ud55c\ub2e4. \uc2e4\uc218\ub85c \uc0c1\uc704 \ud074\ub798\uc2a4\uc758 \uba54\uc11c\ub4dc\ub97c \uc758\ub3c4\uce58 \uc54a\uac8c \uc624\ubc84\ub77c\uc774\ub4dc\ud558\ub294 \uac83\uc744 \ub9c9\uae30 \uc704\ud55c \uc870\uce58\uc774\ub2e4.<span class=\"Apple-converted-space\">\u00a0<\/span><br \/>\n<\/span><\/p>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ucf00\uc774\uc2a4 \ud074\ub798\uc2a4(case class)\uc640 \ud328\ud134 \ub9e4\uce6d(pattern matching)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud328\ud134 \ub9e4\uce6d\uc740 \ud568\uc218 \uc5b8\uc5b4\uc758 \uace0\uc720\ud55c \ud2b9\uc9d5 \uc911\uc5d0 \ud558\ub098\ub85c \ud568\uc218 \uc5b8\uc5b4\ub97c \uac15\ub825\ud558\uac8c \ub9cc\ub4e4\uc5b4\uc8fc\ub294 \ud575\uc2ec\uc774\ub2e4. \uc2a4\uce7c\ub77c\ub294 \ucf00\uc774\uc2a4 \ud074\ub798\uc2a4\ub97c \ud1b5\ud574 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4 \uc18d\uc5d0 \ud328\ud134 \ub9e4\uce6d\uc744 \ub179\uc5ec \ub123\uc5c8\ub2e4.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">abstract class Shape<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">case class Rectangle(width: Double, height: Double) extends Shape<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">case class Circle(radius: Double) extends Shape<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">case class Square(side: Double) extends Shape<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\ucf00\uc774\uc2a4 \ud074\ub798\uc2a4\uc758 \uc608<\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ucf00\uc774\uc2a4 \ud074\ub798\uc2a4\ub294 \uc77c\ubc18 \ud074\ub798\uc2a4\uc640 \ub2ec\ub9ac \ub2e4\uc74c\uacfc \uac19\uc740 \uba87 \uac00\uc9c0 \ud2b9\uc9d5\uc744 \uac16\ub294\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">(1) \uc0c8\ub85c\uc6b4 \uac1d\uccb4\ub97c \uc0dd\uc131\ud558\uae30 \uc704\ud574 new \ud0a4\uc6cc\ub4dc\ub97c \uc0ac\uc6a9\ud560 \ud544\uc694\uac00 \uc5c6\ub2e4. new Circle(5.0) \ub300\uc2e0\uc5d0 Circle(5.0)\uc774\ub77c\uace0 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">(2) \uc0dd\uc131\uc790\uc758 \ud30c\ub77c\ubbf8\ud130\uc5d0 \uc0ac\uc6a9\ub41c \uac12\uc744 \uc5bb\uc744 \uc218 \uc788\ub294 getter \uba54\uc11c\ub4dc\uac00 \uc790\ub3d9\uc73c\ub85c \uc0dd\uc131\ub41c\ub2e4. \uc608\ub97c \ub4e4\uc5b4 var c = Circle(5.0)\ub97c \uc120\uc5b8\ud588\ub2e4\uba74 c.radius\ub294 5.0\uc744 \ub9ac\ud134\ud55c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">(3) equals\uc640 hashCode \uba54\uc11c\ub4dc\uac00 \uc790\ub3d9\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc9c4\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">(4) toString \uba54\uc11c\ub4dc\uac00 \uc790\ub3d9\uc73c\ub85c \uc815\uc758\ub41c\ub2e4. Rectangle(5.0, 3.0)\uc744 \ucd9c\ub825\ud574\ubcf4\uba74 &#8220;Rectangle(5.0, 3.0)&#8221;\uc774 \ub098\uc628\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">(5) \ud328\ud134 \ub9e4\uce6d\uc744 \ud1b5\ud574 \ubd84\ud574(decompose)\ub420 \uc218 \uc788\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ucf00\uc774\uc2a4 \ud074\ub798\uc2a4\uc758 \ucd5c\ub300 \uc7a5\uc810\uc740 (5)\uc5d0\uc11c \uc5b8\uae09\ud55c \ud328\ud134 \ub9e4\uce6d\uc758 \uc0ac\uc6a9\uc774\ub2e4. \ub2e4\uc74c\uc740 \ud328\ud134 \ub9e4\uce6d\uc744 \uc0ac\uc6a9\ud55c \uba74\uc801(area) \uacc4\uc0b0 \ud568\uc218\uc774\ub2e4.<span class=\"Apple-converted-space\">\u00a0<\/span><br \/>\n<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">def area(s: Shape): Double = s match {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case Rectangle(width, height) =&gt; width * height<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case Circle(radius) =&gt; radius * radius * 3.14<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case Square(side) =&gt; side * side<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case _ =&gt; 0<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">}<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">def perimeter(s: Shape): Double = s match {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case Rectangle(width, height) =&gt; 2 * (width + height)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case Circle(radius) =&gt; 2 * 3.14 * radius<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case Square(side) =&gt; side * 4<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 case _ =&gt; 0<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">}<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud328\ud134 \ub9e4\uce6d\uc744 \ud1b5\ud55c Shape\uc758 \uba74\uc801\/\ub458\ub808 \uacc4\uc0b0<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">area(\uba74\uc801)\uc640 perimeter(\ub458\ub808) \ud568\uc218\ub294 Shape\uc758 \uac1d\uccb4 s\ub97c \ub118\uaca8\ubc1b\uc544 \ud328\ud134 \ub9e4\uce6d\uc744 \ud55c\ub2e4. s\uc758 \uac1d\uccb4\uac00 Rectangle, Circle, Square\uc77c \ub54c \uac01\uac01\uc758 \ucf00\uc774\uc2a4\uc5d0 \ub300\ud574 \uc5b4\ub5a4 \uc77c\uc744 \uc218\ud589\ud560 \uac83\uc778\uc9c0 \uc801\uc5b4\uc8fc\uba74 \ub41c\ub2e4. \uc774\ub54c \uac01 \uac1d\uccb4\ub97c \ub9cc\ub4e4 \ub54c \uc0ac\uc6a9\ub418\uc5c8\ub358 \uc778\uc790\uac00 \uc6d0\ud558\ub294 \ubcc0\uc218\uc5d0 \uc790\ub3d9\uc73c\ub85c \ub9e4\uce6d\ub41c\ub2e4. \uc608\ub97c \ub4e4\uc5b4, Rectangle(5.0, 3.0)\uc744 s\ub85c \ub118\uacbc\ub2e4\uba74 \uccab \ubc88\uc9f8 \ucf00\uc774\uc2a4\uc5d0\uc11c width\uc640 height\ub294 \uac01\uac01 5.0, 3.0\uc774 \ub41c\ub2e4. _\ub294 \uc55e\uc120 \ud328\ud134 \ub9e4\uce6d\uc774 \ubaa8\ub450 \uc2e4\ud328\ud588\uc744 \ub54c \ub514\ud3f4\ud2b8\ub85c \ud638\ucd9c\ub418\ub294 \ucf00\uc774\uc2a4\ub97c \uc758\ubbf8\ud55c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0 \uc775\uc219\ud55c \uac1c\ubc1c\uc790\ub77c\uba74 area\ub97c Shape\uc758 \uba54\uc11c\ub4dc\ub85c \uc120\uc5b8\ud558\uace0, Rectangle, Circle, Square \ub4f1 \uac01\uac01\uc758 \uc11c\ube0c\ud074\ub798\uc2a4\uac00 area\ub97c \uad6c\ud604\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218\ub3c4 \uc788\uc744 \uac83\uc774\ub2e4. area\ub098 perimeter \uac19\uc740 \uba54\uc11c\ub4dc\ub294 \uba87 \uac1c\ub85c \uace0\uc815\ub418\uc5b4 \uc788\uace0, Triangle\uc774\ub098 Ellipse \ub4f1 \uc0c8\ub85c\uc6b4 Shape\uc774 \uacc4\uc18d \ucd94\uac00\ub418\ub294 \uc0c1\ud669\uc774\ub77c\ub294 \uc774 \ubc29\ubc95\uc774 \ub354 \uc88b\ub2e4. \uc0c8\ub85c \ucd94\uac00\ub418\ub294 Shape\uc5d0\uc11c area\uc640 perimeter \ub4f1 \uba87 \uac1c\uc758 \uba54\uc11c\ub4dc\ub9cc \uad6c\ud604\ud574\uc8fc\uba74 \ub418\uace0 \uae30\uc874 \ud30c\uc77c\uc744 \uace0\uce60 \ud544\uc694\uac00 \uc5c6\uae30 \ub54c\ubb38\uc774\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ubc18\ub300\ub85c Shape\uc758 \uc885\ub958\ub294 \uace0\uc815\ub41c \uc0c1\ud669\uc5d0\uc11c area, perimeter \ub4f1\uc758 \uba54\uc11c\ub4dc\ub97c \uacc4\uc18d \ucd94\uac00\ud574 \ub098\uac00\uc57c \ub418\uba74 \uc0c1\ud669\uc774 \ub2ec\ub77c\uc9c4\ub2e4. \uba54\uc11c\ub4dc\uac00 \ud558\ub098 \ucd94\uac00\ub420 \ub54c\ub9c8\ub2e4 \ubaa8\ub4e0 Shape\uc758 \uc11c\ube0c\ud074\ub798\uc2a4\ub97c \ucc3e\uc544\uc11c \uba54\uc11c\ub4dc\ub97c \ucd94\uac00\ud574\uc918\uc57c \ud558\uae30 \ub54c\ubb38\uc774\ub2e4. \uc790\ubc14\ub97c \ube44\ub86f\ud55c \uc804\ud1b5\uc801\uc778 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4\uc5d0\uc11c\ub294 \uc774 \ubb38\uc81c\ub97c \ube44\uc9c0\ud130 \ud328\ud134(visitor pattern)\uc744 \uc774\uc6a9\ud55c \ub354\ube14 \ub514\uc2a4\ud328\uce58(double dispatch)\ub85c \ud480\uc5c8\ub2e4. \ud558\uc9c0\ub9cc \ube44\uc9c0\ud130 \ud328\ud134\uc740 \uc774\ud574\ud558\uae30\ub3c4 \uc5b4\ub835\uace0, \uc2f1\uae00 \ub514\uc2a4\ud328\uce58\ud558\ub294 \uc77c\ubc18\uc801\uc778 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4\uc5d0\uc11c \uc790\uc5f0\uc2a4\ub7ec\uc6b4 \uc811\uadfc \ubc29\ubc95\ub3c4 \uc544\ub2c8\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ud328\ud134 \ub9e4\uce6d\uc740 \uc774\ub7f0 \uc0c1\ud669\uc5d0\uc11c \uc644\ubcbd\ud55c \uc194\ub8e8\uc158\uc744 \uc81c\uacf5\ud55c\ub2e4. \uc0c8\ub85c\uc6b4 \ud568\uc218\/\uba54\uc11c\ub4dc\ub97c \ub9cc\ub4e4\uace0 \ud328\ud134 \ub9e4\uce6d\uc744 \ud1b5\ud574 \uac01\uac01\uc758 \ucf00\uc774\uc2a4\ub97c \ub2e4\ub8e8\uba74 \ub418\uae30 \ub54c\ubb38\uc774\ub2e4. \ucf00\uc774\uc2a4 \ud074\ub798\uc2a4\ub77c\uace0 \uc774\ub984 \ubd99\uc778 \uc774\uc720\ub294 \uc774\ucc98\ub7fc \ud328\ud134 \ub9e4\uce6d\uc744 \ud1b5\ud574 \uac01 \ucf00\uc774\uc2a4\ub97c \ub2e4\ub8ec\ub2e4\ub294 \uba74\uc744 \uac15\uc870\ud55c \uac83\uc774\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc81c\ub124\ub9ac\uc2dc\ud2f0(Genericity)<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ub9c8\uc9c0\ub9c9\uc73c\ub85c \uc0b4\ud3b4\ubcfc \ub0b4\uc6a9\uc740 \uc790\ubc14 \uc81c\ub124\ub9ad\uc2a4\uc5d0 \ub300\uc751\ud558\ub294 \uc81c\ub124\ub9ac\uc2dc\ud2f0\uc774\ub2e4. \uc2a4\uce7c\ub77c\uc758 \uc81c\ub124\ub9ac\uc2dc\ud2f0\ub294 \uc790\ubc14\ubcf4\ub2e4 \ubb38\ubc95\uc801\uc73c\ub85c \ud6e8\uc52c \uac04\uacb0\ud558\uace0 \uc9c1\uad00\uc801\uc774\ub2e4. \uc774\ud574\ub97c \uc704\ud574 \uc2a4\uce7c\ub77c \ud29c\ud1a0\ub9ac\uc5bc\uc5d0 \uc788\ub294 \uc608\uc81c \ucf54\ub4dc\ub97c \ud558\ub098 \uc0b4\ud3b4\ubcf4\uc790.<\/span><\/p>\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px solid #c1c1c1; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #eeeeee; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">class Reference[a] {<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 private var contents: a = _<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def set(value: a) { contents = value }<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">\u00a0\u00a0\u00a0\u00a0 def get: a = contents<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\"><span lang=\"EN-US\">}<\/span><\/p>\n<\/div>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc81c\ub124\ub9ac\uc2dc\ud2f0<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc544\ubb34 \ud0c0\uc785\uc774\ub098 \uc800\uc7a5\ud560 \uc218 \uc788\ub294 Reference \ud074\ub798\uc2a4\ub97c \ub9cc\ub4e4\uae30 \uc704\ud574\uc11c [a]\ub77c\ub294 \ud0c0\uc785 \ud30c\ub77c\ubbf8\ud130\ub97c \ubc1b\uc558\ub2e4. Reference\uc758 contents \ud544\ub4dc\ub97c \ud0c0\uc785 a\ub85c \uc120\uc5b8\ud588\uace0, get\uc758 \ub9ac\ud134 \ud0c0\uc785\uacfc set\uc758 value \ud0c0\uc785\uc744 a\ub85c \uc120\uc5b8\ud588\ub2e4. \uc2e4\uc81c\ub85c \uc0ac\uc6a9\ud560 \ub54c\ub294 val cell = new Reference[Int] \ud615\ud0dc\ub85c \ud0c0\uc785\uc744 \ub118\uaca8\uc8fc\uba74 \ub41c\ub2e4. \ucc38\uace0\ub85c, \uc2a4\uce7c\ub77c\ub294 \uae30\ubcf8 \ud0c0\uc785\uacfc \ub808\ud37c\ub7f0\uc2a4 \ud0c0\uc785\uc758 \uad6c\ubd84\uc774 \uc5c6\uae30 \ub54c\ubb38\uc5d0 Int\ub97c \ub123\uae30 \uc704\ud574 Integer \uac1d\uccb4\ub97c \ub9cc\ub4e4\uc5b4 \ubc15\uc2f1\ud560 \ud544\uc694\uac00 \uc5c6\ub2e4.<\/span><\/p>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc815\ub9ac<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub294 \ub2e4\ub978 \ud568\uc218 \uc5b8\uc5b4\uc640 \ub2ec\ub9ac JVM \uc704\uc5d0\uc11c \ub3d9\uc791\ud558\ub294 \uc5b8\uc5b4\ub77c\ub294 \uc774\uc810 \ub54c\ubb38\uc5d0 \uc0c1\ub2f9\ud788 \uc2e4\uc6a9\uc801\uc774\ub2e4. \ud2b9\ud788 \uc774\ubbf8 \uae30\uc874 \uc790\ubc14 \uac1c\ubc1c\uc790\ub4e4\uc5d0\uac8c \uc2a4\uce7c\ub77c\ub294 \uae30\uc874 \ud504\ub85c\uc81d\ud2b8 \ud50c\ub7ab\ud3fc\uc744 \ubcc0\uacbd\ud558\uc9c0 \uc54a\uace0 \ud544\uc694\ud55c \ubd80\ubd84\uc5d0\uc11c \uc0dd\uc0b0\uc131\uc744 \ub192\uc77c \uc218 \uc788\ub294 \uc911\uc694\ud55c \ub3c4\uad6c\uac00 \ub420 \uac83\uc774\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c \ucef4\ud30c\uc77c\ub7ec\uc640 \ub7f0\ud0c0\uc784\uc758 \ubc84\uc804\uc740 2.7.0\uc73c\ub85c \uc0c1\ub2f9\ud788 \uc548\uc815\ub418\uc5b4 \uc788\uace0, \uc9c0\uae08\uc740 \uc2a4\uce7c\ub77c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\uc640 \ud504\ub808\uc784\uc6cc\ud06c\ub3c4 \ucd9c\uc5f0\ud558\uae30 \uc2dc\uc791\ud588\ub2e4. Lift\ub294 \uc2a4\uce7c\ub77c\ub97c \uc774\uc6a9\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc774\uace0, Scalax, Scalaz \ud504\ub85c\uc81d\ud2b8 \ub4f1\uc740 \uc2a4\uce7c\ub77c \ub77c\uc774\ube0c\ub7ec\ub9ac\uc774\ub2e4. \ub610\ud55c \uba40\ud2f0 \ucf54\uc5b4 \uc2dc\ub300\ub97c \ub300\ube44\ud55c \ubcd1\ub82c \ud504\ub85c\uadf8\ub798\ubc0d(\uc5bc\ub7ad(Erlang)\uacfc \uc720\uc0ac\ud55c \ud504\ub85c\uc138\uc2a4 \ubaa8\ub378\uc744 \uc81c\uacf5) \ub610\ud55c \uc2a4\uce7c\ub77c\uac00 \uc790\ub791\ud558\ub294 \uae30\ub2a5 \uc911 \ud558\ub098\uc774\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc9e7\uc740 \uc9c0\uba74\uc5d0 \uc0c8\ub85c\uc6b4 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub97c \ucc98\uc74c\ubd80\ud130 \uc18c\uac1c\ud558\ub824\ub2e4\ubcf4\ub2c8 \uc751\uc6a9 \ubd80\ubd84\uc5d0\uc11c \ub9ce\uc740 \ub0b4\uc6a9\uc774 \ube60\uc84c\ub2e4. \ubcf4\ub2e4 \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \uc2a4\uce7c\ub77c \ud648\ud398\uc774\uc9c0(http:\/\/www.scala-lang.org\/)\ub97c \ud1b5\ud574 \uc5bb\uae38 \ubc14\ub780\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<div class=\"txc-textbox\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; padding: 10px; border: 1px dashed #f3c534; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #fefeb8; -webkit-text-stroke-width: 0px;\">\n<p class=\"\uc81c\ubaa9 2\"><span lang=\"EN-US\">Scalax, Scalaz<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\ub294 JDK\uc5d0 \uc788\ub294 \ud074\ub798\uc2a4\ub4e4\uc744 \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc9c0\ub9cc, \ud55c\ud3b8\uc73c\ub85c\ub294 \uc2a4\uce7c\ub77c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 \uc790\uccb4\uc758 \ud2b9\uc9d5\uc744 \uc0b4\ub9ac\uae30 \uc704\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\uc758 \uac1c\ubc1c\ub3c4 \ud55c\ucc38\uc774\ub2e4. \ub300\ud45c\uc801\uc73c\ub85c Scalax\uc640 Scalaz \ud504\ub85c\uc81d\ud2b8\uac00 \uc788\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc77c\ub840\ub85c Scalaz\ub294 ScalaCheck\uc774\ub77c\ub294 \ud14c\uc2a4\ud305 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc81c\uacf5\ud55c\ub2e4. \ubb3c\ub860 \uc2a4\uce7c\ub77c\ub3c4 \uc790\ubc14 \ud14c\uc2a4\ud305 \ud504\ub808\uc784\uc6cc\ud06c\uc778 JUnit\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc9c0\ub9cc, ScalaCheck\uc740 JUnit\uacfc \ub2ec\ub9ac \ud568\uc218 \uc5b8\uc5b4\uc758 \ud2b9\uc9d5\uc744 \uc0b4\ub824 \uba85\uc138 \uae30\ubc18\uc758 \uc790\ub3d9\ud654\ub41c \ud14c\uc2a4\ud305\uc744 \uc81c\uacf5\ud55c\ub2e4. \uc774\ub294 \ud5e4\uc2a4\ucf08\uc758 QuickCheck\uacfc \uc720\uc0ac\ud558\ub2e4. \ub610\ud55c Scalaz\ub294 \ud568\uc218 \uc5b8\uc5b4\uc758 \ud2b9\uc9d5\uc744 \uc0b4\ub9ac\uace0\uc790 \ubaa8\ub098\ub4dc(monad) \uad00\ub828 \ud328\ud0a4\uc9c0\ub3c4 \uc81c\uacf5\ud55c\ub2e4.<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\">\n<p class=\"\ubc14\ud0d5\uae00\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\uc2a4\uce7c\ub77c\uc758 \uc7a5\uc810\uc744 \uc798 \uc0b4\ub9b0 \ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \ud558\uace0 \uc2f6\ub2e4\uba74 \uc774\ub7f0 \ub77c\uc774\ube0c\ub7ec\ub9ac \ud504\ub85c\uc81d\ud2b8\uac00 \uc911\uc694\ud55c \ud559\uc2b5 \uc18c\uc2a4\uac00 \ub420 \uac83\uc774\ub2e4.<\/span><\/p>\n<\/div>\n<p class=\"\uc81c\ubaa9 1\" style=\"font: bold 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span style=\"font-family: '\ub9d1\uc740 \uace0\ub515';\">\ucc38\uace0\ubb38\ud5cc<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">[1] A Scala Tutorial for Java Programmers<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><a href=\"http:\/\/www.scala-lang.org\/docu\/files\/ScalaTutorial.pdf\"><span style=\"text-decoration: underline;\"><span lang=\"EN-US\">http:\/\/www.scala-lang.org\/docu\/files\/ScalaTutorial.pdf<\/span><\/span><\/a><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">[2] Scala by Example<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><a href=\"http:\/\/www.scala-lang.org\/docu\/files\/ScalaByExample.pdf\"><span style=\"text-decoration: underline;\"><span lang=\"EN-US\">http:\/\/www.scala-lang.org\/docu\/files\/ScalaByExample.pdf<\/span><\/span><\/a><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">[3] An Overview of the Scala Programming Language<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><a href=\"http:\/\/www.scala-lang.org\/docu\/files\/ScalaOverview.pdf\"><span style=\"text-decoration: underline;\"><span lang=\"EN-US\">http:\/\/www.scala-lang.org\/docu\/files\/ScalaOverview.pdf<\/span><\/span><\/a><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><span lang=\"EN-US\">[4] The Scala Language Specification Version 2.7<\/span><\/p>\n<p class=\"\ubc14\ud0d5\uae00\" style=\"font: 14px\/21px '\ub9d1\uc740 \uace0\ub515', Dotum, Verdana, AppleGothic, sans-serif; text-align: justify; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\"><a href=\"http:\/\/www.scala-lang.org\/docu\/files\/ScalaReference.pdf\"><span style=\"text-decoration: underline;\"><span lang=\"EN-US\">http:\/\/www.scala-lang.org\/docu\/files\/ScalaReference.pdf<\/span><\/span><\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\uac1d\uccb4\uc9c0\ud5a5+\ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4 Scala \uc2a4\uce7c\ub77c(Scala)\ub294 \uac1d\uccb4\uc9c0\ud5a5 \uc5b8\uc5b4\uc774\uba74\uc11c \ub3d9\uc2dc\uc5d0 \ud568\uc218 \uc5b8\uc5b4\uc774\ub2e4. \uc2a4\uce7c\ub77c\ub294 \uc790\ubc14\uc640 \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc790\ubc14\uac00\uc0c1\uba38\uc2e0(JVM) \uc704\uc5d0\uc11c \uc2e4\ud589\ub418\uba70 \uae30\uc874 \uc790\ubc14 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uadf8\ub300\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. \ubc18\ub300\ub85c \uc790\ubc14\ub85c \uc791\uc131\ub41c \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc2a4\uce7c\ub77c\ub85c \uc791\uc131\ub41c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\ub2e4. \ub2e4\ub978 JVML(JVM \uc5b8\uc5b4)\uc778 JRuby, Jython\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc2a4\uce7c\ub77c\ub294 \uc790\ubc14\uc758 \ud55c\uacc4\ub97c \uadf9\ubcf5\ud558\uae30 \uc704\ud574 \ucd9c\ud604\ud588\ub2e4. \ud2b9\ud788, \uc774\ubbf8 \uc124\uacc4\ub41c \ucef4\ud3ec\ub10c\ud2b8 \ub2e8\uc704\uc758 \uc790\ubc14 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub4e4\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uc7ac\uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ud568\uc218 \uc5b8\uc5b4\uc758 \ud2b9\uc9d5\uc778 \uace0\ucc28 \ud568\uc218, \ud328\ud134 \ub9e4\uce6d \ub4f1\uc774 \ud544\uc694\ud558\ub2e4\ub294 \uac83\uc774\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \uc790\ubc14\uc640\uc758 \ucc28\uc774\uc810\uc744 \ubd80\uac01\uc2dc\ucf1c \uc2a4\uce7c\ub77c\uc758 \ud2b9\uc9d5\uacfc \uc7a5\ub2e8\uc810\uc744 \uc0b4\ud3b4\ubcf4\ub824 \ud55c\ub2e4. \uc65c \uc0c8\ub85c\uc6b4 \uc5b8\uc5b4\uac00 \ud544\uc694\ud588\uc744\uae4c? \uc2a4\uce7c\ub77c \uc5b8\uc5b4\ub97c \ub9cc\ub4e0 \uc0ac\ub78c\uc740 GJ, Pizza \ud504\ub85c\uc81d\ud2b8 \ub4f1\uc73c\ub85c \uc720\uba85\ud55c \ub9c8\ud2f4 \uc624\ub354\uc2a4\ud0a4(Martin Odersky)\ub2e4. \uadf8\uac00 \uc8fc\ub3c4\ud55c GJ\uc640 Pizza\ub294 \uc790\ubc14 \uc5b8\uc5b4\uc5d0 \uc778\uc790 \ub2e4\ud615\uc131(parametric polymorphism)\uc744 \ucd94\uac00\ud55c \ub9ac\uc11c\uce58 \ud504\ub85c\uc81d\ud2b8\uc600\uace0 \uc774\ub7f0 \uacb0\uacfc\ubb3c\uc740 \uc774\ud6c4 \uc790\ubc14 5\uc758 \uc81c\ub124\ub9ad\uc2a4\uac00 \ub418\uc5c8\ub2e4. \ud558\uc9c0\ub9cc JVM\uc744 \ubcc0\uacbd\ud558\uc9c0 \uc54a\uace0 \ucef4\ud30c\uc77c\ub7ec \uae30\uc220\ub9cc\uc73c\ub85c \uad6c\ud604\ud55c \uc81c\ub124\ub9ad\uc2a4\ub294 \uc131\uacf5\uc774\ub77c\uace0 \ubcf4\uae30 \ud798\ub4e4\uc5c8\ub2e4. \uc624\ub354\uc2a4\ud0a4\ub294 \uc774\ub7f0 \uc811\uadfc\ubc95\uc5d0 \ud55c\uacc4\ub97c \ub290\ub07c\uace0, \ud568\uc218 \uc5b8\uc5b4\uc758 \uc7a5\uc810\uc744 \uc801\uadf9 \ubc18\uc601\ud55c \uc0c8\ub85c\uc6b4 JVML\uc744 \ub9cc\ub4e4\uc5c8\ub2e4. \uc774\ub807\uac8c \ub098\uc628 \uacb0\uacfc\ubb3c\uc774 \uc2a4\uce7c\ub77c\uc774\ub2e4. \uc2a4\uce7c\ub77c\uc758 \ubaa9\ud45c\ub294 \ucef4\ud3ec\ub10c\ud2b8 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub97c \uc798 \uc9c0\uc6d0\ud558\uae30 \uc704\ud55c \uc5b8\uc5b4\uc774\ub2e4. \uc790\ubc14\ub294 \ub300\uaddc\ubaa8 \uac1c\ubc1c \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc8fc\ub85c \uc0ac\uc6a9\ub418\ub294 \uc5b8\uc5b4\uc774\uace0, \uac01\uc885 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uac00\uc838\uc640\uc11c \uc870\ud569\ud574 \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0\uac00 \ub2e4\ub978 \uc5b8\uc5b4\ubcf4\ub2e4 \uc555\ub3c4\uc801\uc73c\ub85c \ub9ce\ub2e4. \ud558\uc9c0\ub9cc \uc790\ubc14 \uc5b8\uc5b4 \uc790\uccb4\ub294 \uc18c\ud615 \ub514\ubc14\uc774\uc2a4\ub97c \uc9c0\uc6d0\ud558\uae30 \uc704\ud55c \uc624\ud06c(Oak)\ub77c\ub294 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \ucd9c\ubc1c\ud588\uace0, \uc6f9\uc5d0\uc11c\ub3c4 \uc18c\ud615 \uc560\ud50c\ub9bf \uc791\uc131\uc744 \uc8fc\ub85c \uc0ac\uc6a9\ub418\uc5c8\ub2e4. \uc774\ub7f0 \uc790\ubc14\ub97c \uac01\uc885 \ud504\ub808\uc784\uc6cc\ud06c\ub85c \ud3ec\uc7a5\ud574 \ub300\ud615 \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc0ac\uc6a9\ud558\uae30 \uc2dc\uc791\ud558\ub2e4\ubcf4\ub2c8 \uc5b8\uc5b4\uc758 \ud55c\uacc4\ub85c \uc778\ud574 \uc5ec\ub7ec \ubb38\uc81c\uc810\uc744 \uacaa\uac8c \ub418\uc5c8\ub2e4. \ucef4\ud3ec\ub10c\ud2b8 \uc9c0\uc6d0 \uc5b8\uc5b4\ub294 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[7],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-5S","jetpack-related-posts":[{"id":369,"url":"https:\/\/blog.box.kr\/?p=369","url_meta":{"origin":364,"position":0},"title":"Scala, Clojure, Groovy \uadf8\ub9ac\uace0 \uac1c\ubc1c\uc790\uc758 \uc5b8\uc5b4","date":"2014-09-15","format":false,"excerpt":"http:\/\/www.okjsp.net\/seq\/216749 \u00a0 \u00a0 Scala, Clojure, Groovy \uadf8\ub9ac\uace0 \uac1c\ubc1c\uc790\uc758 \uc5b8\uc5b4 \uac1c\ubc1c\uc790\ub3c4 \uc138\ucee8\ub4dc \uc5b8\uc5b4 \ud639\uc740 \ud568\uc218\ud615 \uc5b8\uc5b4 \ud558\ub098\ucbe4\uc740 \ud574\uc57c \ud560 \uc2dc\uae30\uac00 \uc628\uac70 \uac19\uc2b5\ub2c8\ub2e4.\u00a0 \ubaa8\ubc14\uc77c\ub85c \uac08\uc544\ud0c0\uc9c0 \uc54a\ub294\ub2e4\uba74, \ud074\ub77c\uc6b0\ub4dc \ud658\uacbd, \uc5d4\ud130\ud504\ub77c\uc774\uc988 \ud658\uacbd\uc5d0\uc11c\ub294 \uc790\ubc14 \uc790\uccb4\ub9cc\uc73c\ub85c\ub294 \ud574\uacb0 \ud560 \uc218 \uc5c6\ub294 \uce21\uba74\ub4e4\uc774 \ub098\uc640\uc11c \uc138\ucee8\ub4dc \uc5b8\uc5b4\uc5d0 \ub300\ud55c \uc218\uc694\uac00 \uc810\uc9c4\uc801\uc73c\ub85c \uc0dd\uaca8\ub098\uc9c0 \uc54a\uc744\uae4c \ud558\ub294 \uc0dd\uac01\uc774 \ub9ce\uc774 \ub4dc\ub124\uc694.\u00a0 \ub300\ud45c\uc801\uc73c\ub85c\ub294, \uc678\uad6d \uc0ac\ub840\ub97c\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":367,"url":"https:\/\/blog.box.kr\/?p=367","url_meta":{"origin":364,"position":1},"title":"[\ud38c]Scala \uc2dc\uc791\ud558\uae30","date":"2014-09-15","format":false,"excerpt":"\u00a0 http:\/\/ppassa.wordpress.com\/2012\/02\/19\/getting_started_scala\/ Scala \uc2dc\uc791\ud558\uae30 \uc694\uc998 \ub4e4\uc5b4\uc11c\u00a0Scala\ub97c \uacf5\ubd80\ud558\uace0 \uc788\ub2e4. \uc544\uc9c1 \ub9ce\uc774 \ubd80\uc871\ud558\uc9c0\ub9cc, \uc9c0\uae08\uae4c\uc9c0 \ubc30\uc6b4 \uac83\ub4e4 \uae30\ub85d\ud574\ub450\uace0, \ub610 \ud639\uc2dc \uc870\uae08\uc774\ub77c\ub3c4 \ub3c4\uc6c0\uc774 \ub418\ub294 \ubd84\ub4e4\uc774 \uc788\uc744 \uc9c0 \ubab0\ub77c \uacf5\uc720\ud574\ubcf4\uace0\uc790 \ud55c\ub2e4. 1. \ub4e4\uc5b4\uac00\uba70 \ubb58 \ub610 \ubc30\uc6cc\uc57c \ud55c\ub2e8 \ub9d0\uc778\uac00? \uc774\ubbf8 C++, Java, Python, Ruby, JavaScript \ub4f1 \ub9ce\uc740 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub4e4\uc774 \uc788\ub294\ub370, \uc65c \uc790\uafb8 \uc0c8\ub85c\uc6b4 \uc5b8\uc5b4\uac00 \ub098\uc624\uace0 \uc788\ub0d0?\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":244,"url":"https:\/\/blog.box.kr\/?p=244","url_meta":{"origin":364,"position":2},"title":"\ud29c\ud1a0\ub9ac\uc5bc: \uc2a4\uce7c\ub77c(Scala), akka \ub85c scalable \ud558\uace0, fault-tolerant \ud55c \ub124\ud2b8\uc6cc\ud06c \ucc44\ud305 \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \ub9cc\ub4e4\uae30","date":"2014-07-23","format":false,"excerpt":"\ud29c\ud1a0\ub9ac\uc5bc: \uc2a4\uce7c\ub77c(Scala), akka \ub85c scalable \ud558\uace0, fault-tolerant \ud55c \ub124\ud2b8\uc6cc\ud06c \ucc44\ud305 \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \ub9cc\ub4e4\uae30 SW\uac1c\ubc1c \u00a0http:\/\/doc.akka.io\/docs\/akka\/1.3.1\/scala\/tutorial-chat-ser..","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":495,"url":"https:\/\/blog.box.kr\/?p=495","url_meta":{"origin":364,"position":3},"title":"[\ud38c]\uae43\ud5c8\ube0c,\ud559\uc0dd\uc6a9\ubb34\ub8cc\ubaa8\ub460\uac1c\ubc1c\ub3c4\uad6c\uacf5\uac1c","date":"2014-12-22","format":false,"excerpt":"\uae43\ud5c8\ube0c\uac00 \ud559\uc0dd \ud504\ub85c\uadf8\ub798\uba38\ub97c \uc704\ud55c \ubb34\ub8cc \uac1c\ubc1c\ub3c4\uad6c\ub97c \uacf5\uac1c\ud588\ub2e4. \u2018\ud559\uc0dd\uac1c\ubc1c\uc790\ud329(Student Developer Pack)\u2019\uc774\ub2e4. \uae30\uc874\uc5d0 \uc720\ub8cc \uc11c\ube44\uc2a4\ub97c \ub0b4\ub193\uc558\ub358 \ub2e4\uc591\ud55c \uac1c\ubc1c\ub3c4\uad6c\ub97c \ud55c\uaebc\ubc88\uc5d0 \ubb36\uc5b4 \uc81c\uacf5\ud558\ub294 \ud504\ub85c\uc81d\ud2b8\ub2e4. \uae43\ud5c8\ube0c\ub294 \u2018\uad50\uc721\uc6a9 \uae43\ud5c8\ube0c\u2019\ub97c \uc9c0\ub09c 2\uc6d4 \ub530\ub85c \ub9cc\ub4e4\uc5b4 \ud559\uad50\uc5d0\uc11c \ubb34\ub8cc\ub85c \uae43\ud5c8\ube0c \uacc4\uc815\uc744 \uc774\uc6a9\ud560 \uc788\ub3c4\ub85d \ub3d5\uace0 \uc788\ub2e4. \ub300\ud559\uc5d0 \ucc3e\uc544\uac00 \ud559\uc0dd\ub4e4\uc744 \uc704\ud55c \uc138\ubbf8\ub098\ub3c4 \uc5f4\uace0 \uc788\ub2e4. \uc774\ubc88\uc5d4 \uc678\ubd80 \uc624\ud508\uc18c\uc2a4 \ubc0f \uc778\ud504\ub77c \uc5c5\uccb4\ub4e4\uacfc \ud611\uc5c5\ud588\ub2e4. \uac1c\ubc1c\uc790\ub97c\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"Github_student_Developer_pack_01","src":"https:\/\/i0.wp.com\/www.bloter.net\/wp-content\/uploads\/2014\/10\/Github_student_Developer_pack_01.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":242,"url":"https:\/\/blog.box.kr\/?p=242","url_meta":{"origin":364,"position":4},"title":"Intellij\uc5d0\uc11c Scala + akka \uc124\uc815","date":"2014-07-23","format":false,"excerpt":"Intellij 13 \ubc84\uc804 \uae30\uc900 \u00a0 1. Scala \uc124\uce58 2. SBT \uc124\uce58 3. Intellij\uc5d0\uc11c Scala\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ud50c\ub7ec\uadf8\uc778\uc73c\ub85c Scala\uc640 sbt \ub458 \ub2e4 \ubaa8\ub450 \uc124\uce58\ud55c\ub2e4. - \uc124\uce58 \ud6c4 'Setting'\uc5d0\uc11c \uc704\uc5d0 \uc124\uce58\ud55c Scala\uc640 SBT\ub97c \uc124\uc815\ud55c\ub2e4. 4. sbt\ub97c \ud1b5\ud574 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ub9cc\ub4e4\uae30 \uc704\ud574\uc11c\ub294 \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c sbt-module\ub97c \uc120\ud0dd\ud55c \ud6c4 build.sbt\uc5d0 \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uc815\ud55c\ub2e4. \uc704\uc758 build.sbt\uc758 akka \uc124\uc815\uc740\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"http:\/\/cfile27.uf.tistory.com\/image\/2418E83652F07318013FE6","width":350,"height":200},"classes":[]},{"id":429,"url":"https:\/\/blog.box.kr\/?p=429","url_meta":{"origin":364,"position":5},"title":"[\ud38c]\u2018\ub2e4\ub978 \uac1c\ubc1c\uc790\ub294 \uc5b4\ub5bb\uac8c \uc4f8\uae4c?\u2019 \uc0ac\uc18c\ud558\uace0 \uc7ac\ubbf8\uc788\ub294 9\uac00\uc9c0 \ud504\ub85c\uadf8\ub798\ubc0d \uad00\ub840","date":"2014-12-04","format":false,"excerpt":"\u2018\ub2e4\ub978 \uac1c\ubc1c\uc790\ub294 \uc5b4\ub5bb\uac8c \uc4f8\uae4c?\u2019 \uc0ac\uc18c\ud558\uace0 \uc7ac\ubbf8\uc788\ub294 9\uac00\uc9c0 \ud504\ub85c\uadf8\ub798\ubc0d \uad00\ub840 \uac1c\ubc1c\uc790 ITWorld \ubcf4\ud1b5 \ud504\ub85c\uadf8\ub798\uba38\ub4e4\uc740 \ucf54\ub4dc\ub97c \uc4f8 \ub54c \uc608\ub97c \ub4e4\uc5b4 \ub4e4\uc5ec\uc4f0\uae30\uc5d0\ub294 \ud0ed \ub300\uc2e0 \uc2a4\ud398\uc774\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294 \ub4f1(\ub610\ub294 \uadf8 \ubc18\ub300) \uc790\uae30\ub9cc\uc758 \uad00\ub840\uc5d0 \ub530\ub978\ub2e4. \uc774\ub7ec\ud55c \uad00\ub840\ub294 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc640 \uc870\uc9c1, \uadf8\ub9ac\uace0 \uac1c\ubc1c\uc790\ub9c8\ub2e4 \ub2e4\ub97c \uc218 \uc788\ub2e4. \uadf8\ub807\ub2e4\uba74 \uac00\uc7a5 \uc77c\ubc18\uc801\uc73c\ub85c \ud1b5\uc6a9\ub418\ub294 \uad00\ub840\ub294 \ubb34\uc5c7\uc77c\uae4c? \ucd5c\uadfc \uae43\ud5c8\ube0c(GitHub) \ub370\uc774\ud130 \ucc4c\ub9b0\uc9c0\ub97c \ud1b5\ud574\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/364"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=364"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/364\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}