

{"id":11845,"date":"2018-03-27T06:11:28","date_gmt":"2018-03-27T06:11:28","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=11845"},"modified":"2021-12-04T10:16:43","modified_gmt":"2021-12-04T04:46:43","slug":"scala-comments","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/scala-comments\/","title":{"rendered":"Scala Comments &#8211; Single Line, Multiline, Documentation Comments"},"content":{"rendered":"<p>In our last tutorial, we discussed <strong><a href=\"https:\/\/data-flair.training\/blogs\/scala-advantages\/\">Scala Pros and Cons<\/a><\/strong>. In this, Scala Comments Tutorial, we will study various types of comments in Scala: Single Line, Multiline, Documentation Comments with their syntax and example.<\/p>\n<p>So, let&#8217;s explore Scala Comments Tutorial.<\/p>\n<div id=\"attachment_11852\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11852\" class=\"wp-image-11852 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala.jpg\" alt=\"Scala Comments with Syntax and Examples\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-1024x536.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-11852\" class=\"wp-caption-text\">Scala Comments with Syntax and Examples<\/p><\/div>\n<h2>2. Define Scala Comments<\/h2>\n<p>Comments are entities, in your code, that the compiler\/interpreter ignores. You can use them to explain code, and also to hide code details.<\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/scala-constructor\/\">Do you know What is\u00a0 Scala Constructor?<\/a><\/strong><\/p>\n<h3>Types of Comments in Scala<\/h3>\n<h4>a. Scala Single-Line Comments<\/h4>\n<p>When you want only one line of a comment in Scala, you can use the characters \u2018\/\/\u2019 preceding the comment.<br \/>\nobject Main extends App<\/p>\n<pre class=\"EnlighterJSRAW\">{\r\n    print(\"Hi!\")\r\n    \/\/This is a comment, and will not print\r\n}<\/pre>\n<p>Here\u2019s the output:<br \/>\nHi!<\/p>\n<h4>b. Scala Multiline Comments<\/h4>\n<p>When your comments will span more than one line, you can use a multiline comment. To declare it, we use the characters \u2018\/*\u2019 and \u2018*\/\u2019 around the comment.<br \/>\nobject Main extends App<\/p>\n<pre class=\"EnlighterJSRAW\">{\r\n    print(\"Hi!\")\r\n    \/*This is a multiline comment,\r\n    and will not print\r\n    kbye*\/\r\n}<\/pre>\n<p>The output:<br \/>\nHi!<\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/scala-regex\/\">Read about\u00a0 Scala Regular Expressions(Regex)<\/a><\/strong><\/p>\n<h4>c. Documentation Comments in Scala<\/h4>\n<p>A documentation comment is available for quick documentation lookup, and are open for review on pressing Ctrl+Q in the IntelliJ. Your compiler uses these comments to document the source code.<br \/>\nWe have the following syntax for creating a documentation comment:<br \/>\nobject Main extends App<\/p>\n<pre class=\"EnlighterJSRAW\">{\r\n    print(\"Hi!\")\r\n    \/**\r\n    * This is a documentation comment\r\n    * This is a demo\r\n    *\/\r\n}<\/pre>\n<p>Output:<br \/>\nHi!<br \/>\nTo declare such a comment, type the characters \u2018\/**\u2019, and then type something, or press Enter. The IDE will put in a \u2018*\u2019 every time you press enter. To end such a comment, type \u2018\/\u2019 after one of the carets(*).<\/p>\n<p>So, this was all about Comments in Scala. Hope you like our explanation.<\/p>\n<h3>Conclusion<\/h3>\n<p>Hence, in this Scala Comments article, we studied Scala has three kinds of comments- single-line, multiline, and documentation comments with their examples and syntax. Still, if we miss something, share with us in the comment box.<\/p>\n<p>Related Topic-\u00a0<strong><a href=\"https:\/\/data-flair.training\/blogs\/scala-control-structures-comprehensive-guide\/\">\u00a0Scala Control Structures<\/a><\/strong><\/p>\n<p><strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Scala_(programming_language)\">Reference<\/a><\/strong><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1920,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Scala_(programming_language)&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250919075050\\\/https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Scala_(programming_language)&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-10 09:49:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-14 06:04:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-17 08:14:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-21 15:16:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-24 20:50:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-27 22:51:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-02 00:56:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-05 05:12:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-08 16:37:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-11 16:52:40&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-15 01:28:34&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-19 03:57:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-23 15:04:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-27 23:53:53&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-31 15:57:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-03 17:23:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-07 12:58:30&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 13:51:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-13 14:05:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 10:42:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-20 19:37:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-24 11:37:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-28 03:48:25&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-03 20:07:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-09 03:36:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-12 17:53:12&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-16 12:24:01&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-21 16:15:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-29 09:06:02&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 02:19:02&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-05 07:25:42&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-09 05:45:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-13 17:35:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 20:46:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-20 23:10:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-24 16:10:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-29 02:08:36&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-03 06:35:12&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-07 05:36:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-10 12:10:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-13 17:35:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-18 05:54:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-22 04:26:17&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-25 10:55:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-29 13:13:25&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-01 14:38:15&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-05 08:23:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-09 21:06:00&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-13 16:35:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-18 05:49:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-22 04:17:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-26 15:19:02&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-29 17:32:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-03 01:11:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-06 09:48:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-10 00:33:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-13 08:40:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-16 15:52:40&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-16 15:52:40&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our last tutorial, we discussed Scala Pros and Cons. In this, Scala Comments Tutorial, we will study various types of comments in Scala: Single Line, Multiline, Documentation Comments with their syntax and example.&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":31288,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[4026,12415,12503,12546,12583],"class_list":["post-11845","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scala","tag-documentation-comments","tag-scala-comments","tag-scala-multiline-comments","tag-scala-single-line-comments","tag-scala-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scala Comments - Single Line, Multiline, Documentation Comments - DataFlair<\/title>\n<meta name=\"description\" content=\"Scala Comments: Learn Scala Single-line Comments, Scala Multiline Comments and Scala Documentation Comments in the quick Scala Tutorial on Scala Comments\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/scala-comments\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scala Comments - Single Line, Multiline, Documentation Comments - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Scala Comments: Learn Scala Single-line Comments, Scala Multiline Comments and Scala Documentation Comments in the quick Scala Tutorial on Scala Comments\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/scala-comments\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-27T06:11:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-04T04:46:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scala Comments - Single Line, Multiline, Documentation Comments - DataFlair","description":"Scala Comments: Learn Scala Single-line Comments, Scala Multiline Comments and Scala Documentation Comments in the quick Scala Tutorial on Scala Comments","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/scala-comments\/","og_locale":"en_US","og_type":"article","og_title":"Scala Comments - Single Line, Multiline, Documentation Comments - DataFlair","og_description":"Scala Comments: Learn Scala Single-line Comments, Scala Multiline Comments and Scala Documentation Comments in the quick Scala Tutorial on Scala Comments","og_url":"https:\/\/data-flair.training\/blogs\/scala-comments\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-03-27T06:11:28+00:00","article_modified_time":"2021-12-04T04:46:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-2.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Scala Comments &#8211; Single Line, Multiline, Documentation Comments","datePublished":"2018-03-27T06:11:28+00:00","dateModified":"2021-12-04T04:46:43+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/"},"wordCount":321,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-2.jpg","keywords":["Documentation Comments","Scala Comments","Scala Multiline Comments","Scala Single-line Comments","scala tutorial"],"articleSection":["Scala Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/scala-comments\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/","url":"https:\/\/data-flair.training\/blogs\/scala-comments\/","name":"Scala Comments - Single Line, Multiline, Documentation Comments - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-2.jpg","datePublished":"2018-03-27T06:11:28+00:00","dateModified":"2021-12-04T04:46:43+00:00","description":"Scala Comments: Learn Scala Single-line Comments, Scala Multiline Comments and Scala Documentation Comments in the quick Scala Tutorial on Scala Comments","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/scala-comments\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-2.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/Comments-in-Scala-2.jpg","width":1200,"height":628,"caption":"Scala Comments with Syntax and Examples"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/scala-comments\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Scala Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/scala\/"},{"@type":"ListItem","position":3,"name":"Scala Comments &#8211; Single Line, Multiline, Documentation Comments"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=11845"}],"version-history":[{"count":5,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11845\/revisions"}],"predecessor-version":[{"id":104821,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11845\/revisions\/104821"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/31288"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=11845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=11845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=11845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}