

{"id":11980,"date":"2018-03-28T06:00:45","date_gmt":"2018-03-28T06:00:45","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=11980"},"modified":"2021-12-04T10:16:40","modified_gmt":"2021-12-04T04:46:40","slug":"scala-do-while-loop","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/","title":{"rendered":"Scala do while Loop | A Quick and Easy Tutorial"},"content":{"rendered":"<p>Today, we will learn a new topic called<em> Scala Do While Loop<\/em>, which belongs to Scala\u00a0control loop statement. Here, we will learn the syntax and example of do while loops. Along with this, we will discuss the working of Do While loop in Scala?<\/p>\n<p>So, let&#8217;s start Scala do while loop.<\/p>\n<div id=\"attachment_11995\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11995\" class=\"wp-image-11995 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01.jpg\" alt=\"Scala do while Loop | A Quick and Easy Tutorial\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-1024x536.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-11995\" class=\"wp-caption-text\">Scala do while Loop | A Quick and Easy Tutorial<\/p><\/div>\n<h3>What is Scala do While Loop?<\/h3>\n<p>A Scala do while loop will execute a set of statements as long as a condition is true. This is like a while-loop. However, there are two differences:<\/p>\n<ol>\n<li>A while-loop checks the condition before entering the loop. A do-while loop checks it after executing the loop.<\/li>\n<li>This means that a do-while loop will execute at least once. But a while loop may never run.<\/li>\n<\/ol>\n<div id=\"attachment_11998\" style=\"width: 336px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11998\" class=\"wp-image-11998 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while.jpg\" alt=\"Scala do - while loop flow chart\" width=\"326\" height=\"354\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while.jpg 326w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-138x150.jpg 138w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-276x300.jpg 276w\" sizes=\"auto, (max-width: 326px) 100vw, 326px\" \/><\/a><p id=\"caption-attachment-11998\" class=\"wp-caption-text\">Scala do &#8211; while loop flow chart<\/p><\/div>\n<h3>Working of Do While Loop in Scala<\/h3>\n<p>A Scala do while loop first executes the loop once. Then, it checks the condition, which may be any expression. While zero means false, any non-zero value is true.<\/p>\n<p>The rest of the working is like a while-loop. If the condition is true, it executes the code block under itself. It can be one or more statements. Next, it checks the condition again. If true, it executes the block again. Otherwise, it skips to the first statement outside the do-while loop.<\/p>\n<p>Even if the condition is false for the first time, the loop still runs at least once.<\/p>\n<h3>A Syntax of Scala Do-While Loop<\/h3>\n<p>This is the syntax for a do-while loop in Scala:<\/p>\n<pre class=\"EnlighterJSRAW\">do\r\n{\r\nstatement(s);\r\n}\r\nwhile(condition);<\/pre>\n<h3>Scala Do While Loop Examples<\/h3>\n<p>Let\u2019s count down from 7 to 1.<\/p>\n<pre class=\"EnlighterJSRAW\">object Main extends App\r\n{\r\n   var x=7\r\n    do\r\n    {\r\n        println(x)\r\n        x=x-1\r\n    }while(x&gt;0);\r\n<\/pre>\n<p>Here\u2019s the output:<br \/>\n7<br \/>\n6<br \/>\n5<br \/>\n4<br \/>\n3<br \/>\n2<br \/>\n1<\/p>\n<p>Initially, x is 7. The loop executes the loop once. This makes x equal to 6. Then, it checks the condition. Now since 6&gt;0, the condition is true. So, it executes the body yet again. This goes on until x becomes 1. The loop\u2019s body makes it 0. Then, it checks the condition, which is now false. Hence, it comes out of the loop.<\/p>\n<p>Note that this code works even if you skip the semicolon after the while.<\/p>\n<p>Now, let\u2019s take the case when the condition is never true:<\/p>\n<pre class=\"EnlighterJSRAW\">object Main extends App\r\n{\r\n    var x=0\r\n    do\r\n    {\r\n        println(x)\r\n        x=x-1\r\n    }while(x&gt;0)\r\n}<\/pre>\n<p>See? It runs at least once.<\/p>\n<h3>Conclusion<\/h3>\n<p>So, that\u2019s all we have for Scala do while loops. Stay tuned for more Scala loops tutorial. Furthermore, if you have any query, feel free to ask in the comment box.<\/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;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-18 05:49:58&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we will learn a new topic called Scala Do While Loop, which belongs to Scala\u00a0control loop statement. Here, we will learn the syntax and example of do while loops. Along with this, we&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":31247,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[16593,16595,16594,12435],"class_list":["post-11980","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scala","tag-do-while-loop-in-scala","tag-do-while-loop-syntax","tag-example-of-do-while-loop","tag-scala-do-while-loop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scala do while Loop | A Quick and Easy Tutorial - DataFlair<\/title>\n<meta name=\"description\" content=\"Scala do while loop: Quick and easy ways to learn the introduction and working of do while loop in Scala with its syntax and examples.\" \/>\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-do-while-loop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scala do while Loop | A Quick and Easy Tutorial - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Scala do while loop: Quick and easy ways to learn the introduction and working of do while loop in Scala with its syntax and examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/\" \/>\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-28T06:00:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-04T04:46:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-1.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=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scala do while Loop | A Quick and Easy Tutorial - DataFlair","description":"Scala do while loop: Quick and easy ways to learn the introduction and working of do while loop in Scala with its syntax and examples.","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-do-while-loop\/","og_locale":"en_US","og_type":"article","og_title":"Scala do while Loop | A Quick and Easy Tutorial - DataFlair","og_description":"Scala do while loop: Quick and easy ways to learn the introduction and working of do while loop in Scala with its syntax and examples.","og_url":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-03-28T06:00:45+00:00","article_modified_time":"2021-12-04T04:46:40+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-1.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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Scala do while Loop | A Quick and Easy Tutorial","datePublished":"2018-03-28T06:00:45+00:00","dateModified":"2021-12-04T04:46:40+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/"},"wordCount":425,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-1.jpg","keywords":["do while loop in Scala","Do while loop syntax","example of do while loop","Scala do while loop"],"articleSection":["Scala Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/","url":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/","name":"Scala do while Loop | A Quick and Easy Tutorial - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-1.jpg","datePublished":"2018-03-28T06:00:45+00:00","dateModified":"2021-12-04T04:46:40+00:00","description":"Scala do while loop: Quick and easy ways to learn the introduction and working of do while loop in Scala with its syntax and examples.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/do-while-Loop-in-Scala-01-1.jpg","width":1200,"height":628,"caption":"Scala do while Loop | A Quick and Easy Tutorial"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/scala-do-while-loop\/#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 do while Loop | A Quick and Easy Tutorial"}]},{"@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\/11980","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=11980"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11980\/revisions"}],"predecessor-version":[{"id":104815,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11980\/revisions\/104815"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/31247"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=11980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=11980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=11980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}