{"id":14461,"date":"2020-12-13T00:02:50","date_gmt":"2020-12-12T20:32:50","guid":{"rendered":"https:\/\/maktabkhooneh.org\/mag\/?p=14461"},"modified":"2026-04-06T21:10:18","modified_gmt":"2026-04-06T17:40:18","slug":"what-is-the-groovy-programming-language","status":"publish","type":"post","link":"https:\/\/maktabkhooneh.org\/mag\/what-is-the-groovy-programming-language\/","title":{"rendered":"\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0686\u06cc\u0633\u062a"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0686\u06cc\u0633\u062a<\/span><\/h2>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0622\u06cc\u0627 \u0639\u0644\u0627\u0642\u0647\u200c\u0645\u0646\u062f \u0628\u0647 \u06a9\u0633\u0628 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u062f\u0631 \u0631\u0627\u0628\u0637\u0647 \u0628\u0627 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0647\u0633\u062a\u06cc\u062f\u061f \u062f\u0631 \u0635\u0648\u0631\u062a \u062a\u0645\u0627\u06cc\u0644 \u0628\u0647 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 \u062c\u0627\u0648\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u200c\u06cc \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u0627 \u0628\u0627\u0634\u06cc\u062f \u062a\u0627 \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 <a href=\"https:\/\/maktabkhooneh.org\/mag\/what-is-the-groovy-programming-language\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Groovy \u0686\u06cc\u0633\u062a<\/strong><\/a> \u0622\u0634\u0646\u0627 \u0634\u0648\u06cc\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0627\u0648\u0644 \u0627\u0632 \u0647\u0645\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0644\u06cc <strong>Groovy \u0686\u06cc\u0633\u062a <\/strong>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc\u200c\u062f\u0627\u0646\u06cc\u062f \u06af\u0631\u0648\u0648\u06cc \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0646\u0633\u0628\u062a\u0627\u064b \u067e\u0631\u200c\u06a9\u0627\u0631\u0628\u0631\u062f \u0634\u06cc\u0621\u200c\u06af\u0631\u0627 \u0648 \u062f\u0627\u06cc\u0646\u0627\u0645\u06cc\u06a9 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0645\u062c\u0627\u0632\u06cc \u062c\u0627\u0648\u0627 JVM \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f \u0648 \u062f\u0631 \u0647\u0631\u062c\u0627\u06cc\u06cc \u0627\u0632 \u062c\u0627\u0648\u0627 \u0642\u0627\u0628\u0644 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" width=\"920\" height=\"518\" src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/groovy-programming-language-2.jpg\" alt=\"\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0686\u06cc\u0633\u062a\" class=\"wp-image-14580\" title=\"\" srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/groovy-programming-language-2.jpg 920w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/groovy-programming-language-2-300x169.jpg 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/groovy-programming-language-2-768x432.jpg.webp 768w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><span style=\"font-size: 16px;\"><\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0632\u0628\u0627\u0646 Groovy \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647\u200c\u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u067e\u0644\u062a\u0641\u0631\u0645 \u062c\u0627\u0648\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0646\u0648\u06cc\u0633\u06cc \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647 \u0634\u062f\u0647 \u0648 \u062d\u062a\u06cc \u0628\u0631\u0627\u06cc \u0627\u0641\u0631\u0627\u062f \u0639\u0644\u0627\u0642\u0647\u200c\u0645\u0646\u062f \u0628\u0647 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631\u06cc \u0648 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0645\u0641\u06cc\u062f \u0628\u0627\u0634\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">Groovy \u0628\u0647 \u0637\u0648\u0631 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0628\u0627 \u0628\u0627\u06cc\u062a\u200c\u06a9\u062f \u062c\u0627\u0648\u0627 \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0647 \u0648 \u062f\u0627\u0631\u0627\u06cc \u0633\u06cc\u0646\u062a\u06a9\u0633 \u0645\u0634\u0627\u0628\u0647 \u0628\u0627 \u062c\u0627\u0648\u0627 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc Perl \u060cPython \u060cRuby \u0648 Smalltalk \u0631\u0627 \u0628\u0647 \u0627\u0631\u062b \u0628\u0631\u062f\u0647 \u0627\u0633\u062a.<\/span><\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><style><\/style><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"171\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/11\/dart-300x171.jpg.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u0622\u0645\u0648\u0632\u0634 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u062f\u0627\u0631\u062a\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/11\/dart-300x171.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/11\/dart-768x439.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/11\/dart.jpg 945w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/171;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/introducing-the-dart-programming-language-in-the-simplest-way\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u062f\u0627\u0631\u062a \u0628\u0647 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u06cc\u0646 \u0631\u0648\u0634<\/a>\n<\/section><\/div>\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0686\u06cc\u0633\u062a<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u06af\u0631\u0648\u0648\u06cc \u06a9\u0627\u0631\u0628\u0631\u062f\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u062f\u0627\u0631\u062f \u0648 \u0634\u0627\u0645\u0644 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f\u06cc \u0645\u06cc\u200c\u0628\u0627\u0634\u062f \u06a9\u0647 \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0686\u0646\u062f \u0648\u06cc\u0698\u06af\u06cc \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f \u0645\u0647\u0645 \u0627\u0632 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0631\u0627 \u0628\u0627 \u0647\u0645 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645;<\/span><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0645\u0647\u0645\u062a\u0631\u06cc\u0646 \u06a9\u0627\u0631\u0628\u0631\u062f\u200c\u0647\u0627\u06cc <strong>Groovy \u0686\u06cc\u0633\u062a<\/strong><\/span><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-size: 16px;\">\u062a\u0631\u06a9\u06cc\u0628 \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc <a href=\"https:\/\/maktabkhooneh.org\/mag\/javascript-applications\/\">\u062c\u0627\u0648\u0627<\/a><\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u06af\u0633\u062a\u0631\u0634 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062c\u0627\u0648\u0627<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0646\u0648\u0634\u062a\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u062f\u0631 \u062c\u0627\u0648\u0627<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0645\u0646\u0627\u0633\u0628 \u0628\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0646\u0648\u06cc\u0633\u06cc \u0628\u0627 \u0633\u06cc\u0646\u062a\u06a9\u0633 \u0622\u0633\u0627\u0646 \u0648 \u0642\u062f\u0631\u062a\u0645\u0646\u062f<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u062a\u0648\u0633\u0639\u0647 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u0645\u0627\u0634\u06cc\u0646 \u0645\u062c\u0627\u0632\u06cc \u062c\u0627\u0648\u0627<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0645\u0646\u0627\u0633\u0628 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9 \u0648 \u062f\u0627\u06cc\u0646\u0627\u0645\u06cc\u06a9<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u062a\u0644\u0641\u06cc\u0642 \u0634\u062f\u0647 \u0628\u0627 \u0648\u06cc\u0698\u06af\u06cc <a href=\"https:\/\/maktabkhooneh.org\/mag\/python-programming-language\/\">\u0632\u0628\u0627\u0646\u200c \u067e\u0627\u06cc\u062a\u0648\u0646<\/a> \u0648 Ruby<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u062f\u0627\u0631\u0627\u06cc \u0642\u0627\u0628\u0644\u06cc\u062a\u200c \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0646 \u0628\u0647 (DSL (Domain Specific Language \u0648 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0645\u062a\u0627<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0645\u0646\u0627\u0633\u0628 \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0647\u0627\u06cc \u0633\u0627\u062e\u062a (build) \u062f\u0631 \u0627\u0628\u0632\u0627\u0631 Gradle<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0627\u0645\u06a9\u0627\u0646 \u0628\u0631\u0642\u0631\u0627\u0631\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u062c\u0627\u0648\u0627 \u0648 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u200c\u0647\u0627\u06cc \u0622\u0646<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0627\u0645\u06a9\u0627\u0646 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0622\u0633\u0627\u0646 \u0648 \u0628\u062f\u0648\u0646 \u062f\u0631\u062f\u0633\u0631<\/span><\/li>\n\n\n\n<li><span style=\"font-size: 16px;\">\u0628\u0647\u0631\u0647\u200c\u0628\u0631\u06cc \u0627\u0632 \u0642\u0627\u0628\u0644\u06cc\u062a Functional Programming<\/span><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0646\u062d\u0648\u0647 \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc \u062f\u0631 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0628\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u0641\u0631\u0645\u0627\u06cc\u06cc\u062f\u061b<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">class Chistio {\nstatic void main(String[] arg) {\nint x = 5;\nint y = 10;\ndef _something = 'salam';\nprint_ln(x);\nprint_ln(y);\nprint_ln(_something);\n}\n}<\/span><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc <a href=\"https:\/\/maktabkhooneh.org\/mag\/category\/programming-and-it-training\/\">\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc<\/a> Groovy \u0686\u06cc\u0633\u062a<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0645\u0641\u0647\u0648\u0645 <a href=\"https:\/\/maktabkhooneh.org\/mag\/what-is-the-importance-of-object-oriented-programming-in-c-plus-plus\/\">\u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u0634\u06cc\u200c\u06af\u0631\u0627<\/a> \u062f\u0631 Groovy:&nbsp; \u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 \u062a\u0645\u0627\u0645\u06cc \u0639\u0645\u0644\u06af\u0631\u200c\u0647\u0627 \u062f\u0631 \u06af\u0631\u0648\u0648\u06cc \u0628\u0647 \u0635\u0648\u0631\u062a \u062a\u0627\u0628\u0639 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0648 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0648 \u062f\u0631 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0647\u0645\u0647 \u0627\u062c\u0632\u0627 \u06cc\u06a9 \u0634\u06cc\u0621 \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u06a9\u062f \u06f1 + \u06f1 \u0634\u0627\u0647\u062f \u0627\u062c\u0631\u0627\u06cc \u0632\u06cc\u0631 \u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0648\u062f\u061b<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">\u06f1\u066bplus(1)<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0627\u06cc\u0646 \u06cc\u0639\u0646\u06cc Groovy \u0642\u0627\u0628\u0644\u06cc\u062a \u0631\u0648\u0646\u0648\u06cc\u0633\u06cc \u0639\u0645\u0644\u06af\u0631\u0647\u0627 \u0631\u0627 \u062f\u0627\u0631\u062f. \u062f\u0631 \u06a9\u062f \u062f\u0633\u062a\u0648\u0631\u06cc \u0632\u06cc\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u062b\u0627\u0644\u06cc \u0627\u0632 \u0631\u0648\u0646\u0648\u06cc\u0633\u06cc \u0639\u0645\u0644\u06af\u0631 plus \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f\u061b<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">class Score {\nint value;\npublic Score plus (Score other) {\nreturn new Score(value: value + other.value)\n}\n}\n\nScore myScore = new Score(value: 88)\nScore yourScore = new Score(value: 89)\nScore totalScore = myScore + yourScore\n\nassert totalScore == 177<\/span><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc \u062a\u0627\u0628\u0639\u06cc<\/span><\/h4>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0647 \u0633\u0628\u06a9 \u062e\u0627\u0635\u06cc \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647 \u200c\u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062a\u0627\u06a9\u06cc\u062f \u0628\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0648\u0627\u0628\u0639 \u0628\u0631\u0627\u06cc \u062d\u0644 \u0645\u0633\u0627\u0626\u0644 \u0645\u062d\u0627\u0633\u0628\u0627\u062a\u06cc \u062f\u0627\u0634\u062a\u0647 \u0648 \u0627\u0632 \u0637\u0631\u0641\u06cc \u062a\u0627\u06a9\u06cc\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0627\u0632 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u062d\u0627\u0644\u062a \u0648 \u06af\u0627\u0645\u200c\u0647\u0627\u06cc \u0631\u0648\u06cc\u0647\u200c\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u06a9\u0646\u06cc\u062f\u060c \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u062a\u0627\u0628\u0639\u06cc \u06af\u0641\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"576\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/groovy-programming-language-1-1024x576.jpg.webp\" alt=\"\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0686\u06cc\u0633\u062a\" class=\"wp-image-14578 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/groovy-programming-language-1-1024x576.jpg.webp 1024w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/groovy-programming-language-1-300x169.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/groovy-programming-language-1-768x432.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/groovy-programming-language-1.jpg 1280w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/576;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><span style=\"font-size: 16px;\"><\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062a\u0648\u0627\u0628\u0639 \u06af\u0631\u0648\u0648\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u062a\u0648\u0627\u0628\u0639\u06cc \u0628\u0647 \u06a9\u0627\u0631 \u0631\u0648\u0646\u062f \u06a9\u0647 \u0647\u06cc\u0686 \u06af\u0627\u0645 \u0631\u0648\u06cc\u0647\u200c\u0627\u06cc \u0646\u062f\u0627\u0631\u0646\u062f. \u0628\u0631\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u062a\u0627\u0628\u0639 \u0641\u0627\u06a9\u062a\u0648\u0631\u06cc\u0644 \u062f\u0631 \u0632\u0628\u0627\u0646 Groovy \u0637\u0628\u0642 \u06a9\u062f \u062f\u0633\u062a\u0648\u0631\u06cc \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f\u061b<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">def fac(n) { n == 0 ? 1 : n * fac(n - 1) }<\/span><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0628\u0633\u062a\u0627\u0631\u0647\u0627<\/span><\/h4>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0633\u062a\u0627\u0631\u200c\u0647\u0627 \u062f\u0631 \u0648\u0627\u0642\u0639 \u062a\u06a9\u0647\u200c\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9\u06cc \u0627\u0632 \u06a9\u062f \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u062f\u0631 Groovy \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0648 \u062f\u0631 \u0646\u06a9\u062a\u0647\u200c\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0647\u0631 \u0628\u0633\u062a\u0627\u0631 \u0627\u0645\u06a9\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u062d\u0648\u0632\u0647\u200c\u0627\u06cc \u06a9\u0647 \u0628\u0633\u062a\u0627\u0631 \u062f\u0631 \u0622\u0646 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a \u0631\u0627 \u062f\u0627\u0631\u062f \u0648 \u0628\u0647 \u0622\u0646\u200c\u0647\u0627 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u0622\u0632\u0627\u062f \u06af\u0641\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0628\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f\u061b<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">def adder(n) {\nreturn { num -&gt; num + n }\n}\n\ndef add5 = adder(5)\n\nprintln add5(7) \/\/ prints 12<\/span><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0648\u06cc\u0698\u06af\u06cc \u067e\u0648\u06cc\u0627 \u0628\u0648\u062f\u0646 \u062f\u0631 Groovy \u0686\u06cc\u0633\u062a<\/span><\/h3>\n\n\n\n<p><span style=\"font-size: 16px;\">\u067e\u0648\u06cc\u0627\u06cc\u06cc \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0628\u0647 \u0645\u0627 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u062f\u0631 \u0632\u0645\u0627\u0646 \u0627\u062c\u0631\u0627 \u0628\u0647 \u062a\u063a\u06cc\u06cc\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u06a9\u0644\u0627\u0633\u200c\u0647\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0628\u067e\u0631\u062f\u0627\u0632\u06cc\u0645. \u062d\u062a\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0647\u0646\u06af\u0627\u0645 \u0627\u062c\u0631\u0627 \u06cc\u06a9 \u06a9\u0644\u0627\u0633\u060c \u0645\u062a\u063a\u06cc\u0631 \u06cc\u0627 \u062a\u0627\u0628\u0639 \u062c\u062f\u06cc\u062f\u06cc \u0628\u0647 \u06a9\u0644\u0627\u0633 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f.<\/span><\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"169\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/06\/what-is-vba-programming-language-3-300x169.jpg.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc VBA \u0631\u0627 \u0628\u0627\u0647\u0645 \u0628\u0634\u0646\u0627\u0633\u06cc\u0645\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/06\/what-is-vba-programming-language-3-300x169.jpg.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/06\/what-is-vba-programming-language-3-768x432.jpg.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/06\/what-is-vba-programming-language-3.jpg 1000w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/169;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/what-is-vba-programming-language\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc VBA \u0631\u0627 \u0628\u0627\u0647\u0645 \u0628\u0634\u0646\u0627\u0633\u06cc\u0645<\/a>\n<\/section><\/div>\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0646\u0648\u0639\u200c\u06af\u0630\u0627\u0631\u06cc \u0642\u0648\u06cc \u0648 \u0646\u0648\u0639\u200c\u06af\u0630\u0627\u0631\u06cc \u0634\u0644<\/span><\/h4>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u06cc\u06a9 \u0645\u062a\u063a\u06cc\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0646\u06cc\u0633\u062a \u06a9\u0647 \u062d\u062a\u0645\u0627\u064b \u0646\u0648\u0639 \u0622\u0646 \u0631\u0627 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u06a9\u062f:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">def someObject = \"some value\";<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0647 \u0628\u0627\u06cc\u062a\u200c\u06a9\u062f \u062c\u0627\u0648\u0627 \u062a\u0631\u062c\u0645\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u062f\u0631 \u0648\u0627\u0642\u0639 \u06a9\u062f \u0632\u06cc\u0631 \u062f\u0631 \u062c\u0627\u0648\u0627 \u0645\u0639\u0627\u062f\u0644 \u0633\u0627\u0632\u06cc \u0634\u062f\u0647 \u0627\u0633\u062a:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">GroovyObject someObject = \"some value\";<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0627\u0632 \u0637\u0631\u0641\u06cc \u06af\u0631\u0648\u0648\u06cc \u0627\u0645\u06a9\u0627\u0646 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 \u0646\u0648\u0639\u200c\u06af\u0630\u0627\u0631\u06cc \u0631\u0627 \u0646\u06cc\u0632 \u062f\u0627\u0631\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0646\u0645\u0648\u0646\u0647 \u060c \u06a9\u062f \u0632\u06cc\u0631 \u0646\u06cc\u0632 \u062f\u0631 \u06af\u0631\u0648\u0648\u06cc \u0645\u062c\u0627\u0632 \u0627\u0633\u062a:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">String someObject = \"some value\";<\/span><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u06cc\u06a9\u067e\u0627\u0631\u0686\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u0633\u062a\u0642\u06cc\u0645 \u0628\u0627 \u062c\u0627\u0648\u0627<\/span><\/h4>\n\n\n\n<p><span style=\"font-size: 16px;\">\u06a9\u0644\u0627\u0633\u200c\u0647\u0627\u06cc \u062c\u0627\u0648\u0627 \u062f\u0631 \u06af\u0631\u0648\u0648\u06cc \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0647\u0633\u062a\u0646\u062f \u0648 \u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 \u06a9\u0644\u0627\u0633\u200c\u0647\u0627\u06cc \u06af\u0631\u0648\u0648\u06cc \u0628\u0647 \u0628\u0627\u06cc\u062a\u200c\u06a9\u062f \u062c\u0627\u0648\u0627 \u062a\u0631\u062c\u0645\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u06a9\u0644\u0627\u0633\u200c\u0647\u0627\u06cc Groovy \u062f\u0631 \u062c\u0627\u0648\u0627 \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u06cc \u0631\u0627 \u0628\u0631\u0627\u06cc\u062a\u0627\u0646 \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u0645\u06cc\u200c\u06af\u0630\u0627\u0631\u06cc\u0645.<\/span><\/p>\n\n\n<div class=\"jet-listing-grid--50192\" style=\"\"><section class=\"zht-related-post\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/Article\" role=\"region\"\n  aria-label=\"Related article\">\n  <div class=\"zht-related-post-section-label\">\n    \u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637\n  <\/div>\n  <img decoding=\"async\" width=\"300\" height=\"113\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/03\/c-1-300x113.png.webp\" class=\"attachment-medium size-medium wp-post-image lazyload\" alt=\"\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0633\u06cc \u0634\u0627\u0631\u067e\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/03\/c-1-300x113.png.webp 300w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/03\/c-1-1024x384.png.webp 1024w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/03\/c-1-768x288.png.webp 768w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/03\/c-1.png 1364w\" data-sizes=\"(max-width: 300px) 100vw, 300px\" title=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/113;\">\n  <a href=\"https:\/\/maktabkhooneh.org\/mag\/introducing-the-csharp-programming-language\/\" class=\"zht-related-post-title\"\n    itemprop=\"headline\" target=\"_blank\">\u0645\u0639\u0631\u0641\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0633\u06cc \u0634\u0627\u0631\u067e<\/a>\n<\/section><\/div>\n\n\n<p><span style=\"font-size: 16px;\">\u062f\u0631 \u0627\u06cc\u0646 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631\u060c \u06a9\u0644\u0627\u0633 \u062f\u0631 \u062c\u0627\u0648\u0627 \u0648 \u06a9\u0644\u0627\u0633 \u062f\u0631 \u06af\u0631\u0648\u0648\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647\u200c \u0627\u0633\u062a \u0648 \u0647\u0631 \u062f\u0648 \u0627\u0632 \u06cc\u06a9\u062f\u06cc\u06af\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0646\u0645\u0627\u06cc\u0646\u062f\u061b<\/span><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u06a9\u0644\u0627\u0633 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0631 Groovy:<\/span><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">class AClassInGroovy{\ndef printMessage() {\nprintln \"Hello from Groovy\"\n}\n}\nnew AClassInJava().printMessage()\nnew AClassInGroovy().printMessage()<\/span><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u06a9\u0644\u0627\u0633 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0631 Java<\/span><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">public class AClassInJava {\npublic static void main(String[] args) {\nnew AClassInJava().printMessage();\nnew AClassInGroovy().printMessage();\n}\npublic void printMessage() {\nSystem.out.println(\"Hello from Java\");\n}\n}<\/span><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><span style=\"font-size: 16px;\">\u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy<\/span><\/h4>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0627\u0632 \u062f\u0648 \u06a9\u0644\u0627\u0633 java.lang.String \u0648 groovy.lang.GString \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u062f\u0631 Groovy \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u062f\u0631 \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc\u06cc \u0627\u0632 \u0646\u0648\u0639 string \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 \u0637\u0648\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627 \u0648 \u0645\u062a\u062f\u0647\u0627 \u0631\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u06a9\u0631\u062f \u0627\u0645\u0627 \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc\u06cc \u0628\u0627 \u0646\u0648\u0639 GString \u06a9\u0647 \u062f\u0631 \u062f\u0627\u062e\u0644 \u201c\u201d \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f\u060c \u062f\u0627\u0631\u0627\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u0633\u062a\u0642\u06cc\u0645 \u0645\u062a\u062f\u200c\u0647\u0627 \u0648 \u0645\u062a\u063a\u06cc\u0631\u200c\u0647\u0627 \u0628\u0627 \u0639\u0644\u0627\u0645\u062a $ \u0647\u0633\u062a\u0646\u062f.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"760\" height=\"462\" data-src=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/groovy-programming-language-2.png\" alt=\"\u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0686\u06cc\u0633\u062a\" class=\"wp-image-14581 lazyload\" title=\"\" data-srcset=\"https:\/\/maktabkhooneh.org\/mag\/wp-content\/uploads\/2020\/12\/groovy-programming-language-2.png 760w, https:\/\/maktabkhooneh.org\/mag\/wp-content\/smush-webp\/2020\/12\/groovy-programming-language-2-300x182.png.webp 300w\" data-sizes=\"(max-width: 760px) 100vw, 760px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 760px; --smush-placeholder-aspect-ratio: 760\/462;\" \/><figcaption><\/figcaption><\/figure>\n\n\n\n<p><span style=\"font-size: 16px;\"><\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0647\u0631 \u062c\u0627 \u06a9\u0647 \u0644\u0627\u0632\u0645 \u0628\u0627\u0634\u062f \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc GString \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0647 String \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0646\u06a9\u062a\u0647: \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0627\u062e\u0644 \u201c\u201d \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f GString\u060c \u0648 \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u06cc\u0646 \u062f\u0648 \u2018 \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f \u0627\u0632 \u0646\u0648\u0639 String \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/span><br>\n<span style=\"font-size: 16px;\">\u0645\u062b\u0627\u0644:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">class FirstClass {\n\ndef a=8\n\ndef mGString=\"hello $a\" \/\/GString\ndef mString='hello $a' \/\/String\n\nFirstClass() {\nprintln mGString\nprintln mString\n}\nstatic void main(def args){\nnew FirstClass()\n}\n}<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062e\u0631\u0648\u062c\u06cc \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0641\u0648\u0642:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span style=\"font-size: 16px;\">hello 8\nhello $a<\/span><\/pre>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u0647\u0645\u062a\u0631\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u06a9\u062f\u0646\u0648\u06cc\u0633\u06cc\u060c \u062e\u0648\u0627\u0646\u062f\u0646 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627 \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0646 ArrayList \u0648 Map \u0628\u0647 \u0634\u06a9\u0644 \u0633\u0627\u062f\u0647 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f. \u062f\u0631\u0648\u0646\u200c\u06cc\u0627\u0628\u06cc \u062f\u0631 \u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u0646\u06cc\u0632 \u0627\u0632 \u062f\u06cc\u06af\u0631 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u062c\u0627\u0644\u0628 \u06af\u0631\u0648\u0648\u06cc \u0627\u0633\u062a.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u062a\u0628\u062f\u06cc\u0644 \u0646\u0648\u0639 \u062f\u0631 \u06af\u0631\u0648\u0648\u06cc \u0628\u0633\u06cc\u0627\u0631 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647\u200c\u062a\u0631 \u0627\u0632 \u062c\u0627\u0648\u0627 \u0628\u0648\u062f\u0647 \u0648 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0631\u0627\u062d\u062a \u0627\u0632 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645\u060c \u062f\u0631 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0627\u0645\u06a9\u0627\u0646\u200c\u067e\u0630\u06cc\u0631 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f\u200c. \u0647\u0645\u0686\u0646\u06cc\u0646 \u06af\u0631\u0648\u0648\u06cc \u0627\u0632 \u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 16px;\">\u0628\u0631\u0627\u06cc \u0634\u0631\u0648\u0639 \u06a9\u0627\u0631 \u0628\u0627 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u062f\u0631\u06a9 \u06a9\u0646\u06cc\u062f \u06a9\u0647 <strong>Groovy \u0686\u06cc\u0633\u062a<\/strong> \u0648 \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627 \u0648 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0622\u0646 \u06a9\u062f\u0627\u0645 \u0647\u0633\u062a\u0646\u062f. \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0641\u0648\u0642 \u0627\u062d\u062a\u0645\u0627\u0644\u0627\u064b \u0628\u0627 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0622\u0634\u0646\u0627\u06cc\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u062d\u0627\u0644 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u0635\u0645\u06cc\u0645 \u0628\u06af\u06cc\u0631\u06cc\u062f \u06a9\u0647 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc Groovy \u062a\u0627 \u0686\u0647 \u062d\u062f \u0628\u0631\u0627\u06cc\u062a\u0627\u0646 \u0633\u0648\u062f\u0645\u0646\u062f \u0627\u0633\u062a!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0686\u06cc\u0633\u062a \u0622\u06cc\u0627 \u0639\u0644\u0627\u0642\u0647\u200c\u0645\u0646\u062f \u0628\u0647 \u06a9\u0633\u0628 \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u062f\u0631 \u0631\u0627\u0628\u0637\u0647 \u0628\u0627 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Groovy \u0647\u0633\u062a\u06cc\u062f\u061f \u062f\u0631 \u0635\u0648\u0631\u062a \u062a\u0645\u0627\u06cc\u0644 \u0628\u0647 \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u0627\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 \u062c\u0627\u0648\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u0627\u062f\u0627\u0645\u0647\u200c\u06cc \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u0627 \u0628\u0627\u0634\u06cc\u062f \u062a\u0627 \u0628\u0627 \u0645\u0641\u0647\u0648\u0645 Groovy \u0686\u06cc\u0633\u062a \u0622\u0634\u0646\u0627 \u0634\u0648\u06cc\u062f. \u0627\u0648\u0644 \u0627\u0632 \u0647\u0645\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u0628\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":14579,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-14461","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-and-it-training"],"_links":{"self":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/14461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/comments?post=14461"}],"version-history":[{"count":6,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/14461\/revisions"}],"predecessor-version":[{"id":66999,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/posts\/14461\/revisions\/66999"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/media\/14579"}],"wp:attachment":[{"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/media?parent=14461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/categories?post=14461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maktabkhooneh.org\/mag\/wp-json\/wp\/v2\/tags?post=14461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}