

{"id":13713,"date":"2018-04-17T11:26:26","date_gmt":"2018-04-17T11:26:26","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=13713"},"modified":"2026-05-30T15:43:27","modified_gmt":"2026-05-30T10:13:27","slug":"java-vs-c","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/java-vs-c\/","title":{"rendered":"Java Vs C++ | Difference between C++ and Java"},"content":{"rendered":"<p>In our last session, we talked about\u00a0<a href=\"https:\/\/data-flair.training\/blogs\/java-annotations\/\"><strong>Java Annotations<\/strong><\/a>. Now, in this Java tutorial, we are going to study the comparison between Java vs C++, which is better. Moreover, we will discuss the major factors of the differences between C++ and <strong>Java.<\/strong><br \/>\nSo, let us start Java Vs C++.<\/p>\n<div id=\"attachment_13715\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/C-vs-JAva-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-13715\" class=\"wp-image-13715 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/C-vs-JAva-01.jpg\" alt=\"Java Vs C++ | Difference between C++ and Java\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/C-vs-JAva-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/C-vs-JAva-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/C-vs-JAva-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/C-vs-JAva-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/C-vs-JAva-01-1024x536.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-13715\" class=\"wp-caption-text\">Java Vs C++ | Difference between C++ and Java<\/p><\/div>\n<h3>What is Java vs C++<\/h3>\n<p>Both <a href=\"https:\/\/data-flair.training\/blogs\/features-of-java\/\"><strong>Java Programming Language<\/strong><\/a> and C++ are Object-Oriented Programming languages, yet there are contrasts between them. Regardless, Java is an OOP language; accordingly, everything is a protest in Java (single root chain of command as everything gets got from java.lang.Object). Despite what might be expected, in C++ there is no such root chain of command. C++ underpins both procedural and object-oriented programming; in this way, it is known as a hybrid.<\/p>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/java-extends-vs-implements\/\">Do you know the difference between Java Extends vs Implements<\/a><\/strong><\/p>\n<h3>Difference between Java and C++<\/h3>\n<p>Here, we are going to study\u00a011 Important factors of comparison between Java vs C++, let&#8217;s discuss them one by one:<\/p>\n<div id=\"attachment_13719\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Difference-between-Java-and-C-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-13719\" class=\"wp-image-13719 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Difference-between-Java-and-C-01.jpg\" alt=\"\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Difference-between-Java-and-C-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Difference-between-Java-and-C-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Difference-between-Java-and-C-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Difference-between-Java-and-C-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/Difference-between-Java-and-C-01-1024x536.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-13719\" class=\"wp-caption-text\">Difference between Java and C++<\/p><\/div>\n<h4>1. Pointers in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>Java does not support pointers, templates, pointer overloading, unions etc. The Java dialect promoters at first said &#8220;No pointers!&#8221;. However, when numerous developers addressed how you can function without pointers, the promoters started saying &#8220;Confined pointers.&#8221; Java underpins what it calls &#8220;references&#8221;. References act a considerable measure like pointers in C++ dialects yet you can&#8217;t perform number-crunching on pointers in Java. References have types, and they&#8217;re composed safe. These references can&#8217;t be deciphered as crude address and perilous change isn&#8217;t permitted.<\/li>\n<li><strong>C++:\u00a0<\/strong>C++ does support pointers, structures, unions, templates, operator overloading, and pointers arithmetic.<\/li>\n<\/ul>\n<h4>2.\u00a0 Support Destructors in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>Java doesn\u2019t support destructors, it has an automatic <a href=\"https:\/\/data-flair.training\/blogs\/garbage-collection-in-java\/\"><strong>garbage collection system<\/strong><\/a>.<\/li>\n<li><strong>C++:\u00a0<\/strong>It supports destructors, it gets invoked when an object is destroyed.<\/li>\n<\/ul>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/java-garbage-collection-algorithm\/\">Also study Java Garbage Collection algorithms<\/a><\/strong><\/p>\n<h4>3. Conditional Compilation and Inclusion in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>It doesn\u2019t support conditional compilation and inclusion.<\/li>\n<li><strong>C++:\u00a0<\/strong>These are the major features of C++.<\/li>\n<\/ul>\n<h4>4. Thread Support in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>It has built-in supports<a href=\"https:\/\/data-flair.training\/blogs\/multithreading-in-java\/\"> <strong>threads in Java<\/strong><\/a>, there is thread class in Java, inherit to create a new thread override the run method. It has the Synchronize method to manage the execution of the thread.<\/li>\n<li><strong>C++:\u00a0<\/strong>It has no built-in supports. It depends on third-party libraries.<\/li>\n<\/ul>\n<h4>5. Default Arguments in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>Java does not support default arguments. There is no (::) in Java. The strategy definitions should dependably happen inside a class, so there is no requirement for scope determination there either.<\/li>\n<li><strong>C++:<\/strong>\u00a0C++ supports default arguments. C++ has scope resolution (::) which utilize to characterize a strategy outside a class and to get to a worldwide variable inside from the degree where a neighbourhood variable additionally exists with a similar name<\/li>\n<\/ul>\n<h4>6. Goto Statement in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>There is no goto statement in Java. The keywords const and goto are reserved, even though they are not used.<\/li>\n<li><strong>C++:\u00a0<\/strong>C++ has goto articulation. Nonetheless, it isn&#8217;t viewed as a great practice to a utilization of goto explanation.<\/li>\n<\/ul>\n<h4>7. Multiple Inheritances in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>Java doesn&#8217;t provide multiple<a href=\"https:\/\/data-flair.training\/blogs\/inheritance-in-java\/\">\u00a0<strong>inheritances<\/strong><\/a>, at least not in the same sense that C++ does. Java cannot perform multiple inheritance directly because it causes a diamond problem. There is an alternative way provided to achieve it by using the interface.<\/li>\n<li><strong>C++:\u00a0<\/strong>C++ supports different inheritance. The keyword virtual utilize to determine ambiguities amid various legacy if there is any. It can directly implement multiple inheritance.<\/li>\n<\/ul>\n<h4>8. Exception Handling in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0\u00a0<a href=\"https:\/\/data-flair.training\/blogs\/exception-handling-in-java\/\">Exception handling<\/a><\/strong> is different because there are no destructors. In Java, try\/catch must define if the function declares that it may throw an exception.<\/li>\n<\/ul>\n<ul>\n<li><strong>C++:\u00a0<\/strong>While in C++, you may exclude the attempt\/get regardless of whether the capacity throws an exemption.<\/li>\n<\/ul>\n<h4>9. Method Overloading and Operator Overloading in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>Java has<a href=\"https:\/\/data-flair.training\/blogs\/method-overloading-in-java\/\"> <strong>method overloading<\/strong><\/a>, but no operator overloading. The String class does use the + and += operators to concatenate strings and String expressions use automatic type conversion, but that&#8217;s a special built-in case.<\/li>\n<\/ul>\n<ul>\n<li><strong>C++:\u00a0<\/strong>C++ supports both technique over-loading and administrator over-loading.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/\"><strong>Must Read the Important difference between\u00a0Method Overloading vs Overriding in Java<\/strong><\/a><\/p>\n<h4>10. Documentation Comment in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>Java has built-in support for documentation comments (\/** &#8230; *\/); therefore, Java source files can contain their own documentation, which is read by a separate tool usually java doc and reformat into HTML. This helps keeping documentation maintained in an easy way.<\/li>\n<li><strong>C++:\u00a0\u00a0<\/strong>C++ does not support documentation remarks.<\/li>\n<\/ul>\n<h4>11. Platform Independent in Java<\/h4>\n<ul>\n<li><strong>Java:\u00a0<\/strong>Java interpreted for the most part and hence platform independent. Due to the platform independent nature we can run Java code on various platforms.<\/li>\n<li><strong>C++:\u00a0<\/strong>C++ creates protest code and a similar code may not keep running on various stages<\/li>\n<\/ul>\n<p>This was all\u00a0about Java vs C++ Tutorial. Hope you like our explanation of Difference between C++ and Java.<\/p>\n<h3>Conclusion<\/h3>\n<p>In this tutorial, we learned about the basic differences in C++ and Java. In addition, we explore each factor of Java vs C++.\u00a0Furthermore, if you have any query, feel free to ask in a comment section.<\/p>\n<p style=\"font-weight: 400\">Related Topic-\u00a0<strong><a href=\"https:\/\/data-flair.training\/blogs\/interface-in-java\/\">Interface in Java with Example program <\/a><\/strong><\/p>\n<p style=\"font-weight: 400\"><strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Comparison_of_Java_and_C%2B%2B\">For reference\u00a0<\/a><\/strong><\/p>\n<p><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1977,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Comparison_of_Java_and_C%2B%2B&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250829092743\\\/https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Comparison_of_Java_and_C%2B%2B&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-10 14:47:22&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-12-10 14:47:22&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our last session, we talked about\u00a0Java Annotations. Now, in this Java tutorial, we are going to study the comparison between Java vs C++, which is better. Moreover, we will discuss the major factors&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":29441,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[2266,3824,15655,15774],"class_list":["post-13713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","tag-c-vs-java","tag-difference-between-c-and-java","tag-what-is-c","tag-what-is-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java Vs C++ | Difference between C++ and Java - DataFlair<\/title>\n<meta name=\"description\" content=\"Java vs C++ tutorial, what is Java Programming language, what is C++, a difference between C++ and Java, Comparison between Java and C++,\" \/>\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\/java-vs-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Vs C++ | Difference between C++ and Java - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Java vs C++ tutorial, what is Java Programming language, what is C++, a difference between C++ and Java, Comparison between Java and C++,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/java-vs-c\/\" \/>\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-04-17T11:26:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-30T10:13:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/12\/Python-Installation-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\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=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java Vs C++ | Difference between C++ and Java - DataFlair","description":"Java vs C++ tutorial, what is Java Programming language, what is C++, a difference between C++ and Java, Comparison between Java and C++,","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\/java-vs-c\/","og_locale":"en_US","og_type":"article","og_title":"Java Vs C++ | Difference between C++ and Java - DataFlair","og_description":"Java vs C++ tutorial, what is Java Programming language, what is C++, a difference between C++ and Java, Comparison between Java and C++,","og_url":"https:\/\/data-flair.training\/blogs\/java-vs-c\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-04-17T11:26:26+00:00","article_modified_time":"2026-05-30T10:13:27+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/12\/Python-Installation-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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Java Vs C++ | Difference between C++ and Java","datePublished":"2018-04-17T11:26:26+00:00","dateModified":"2026-05-30T10:13:27+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/"},"wordCount":872,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/12\/Python-Installation-1.jpg","keywords":["C++ vs java","Difference between C++ and Java","What is C++","What is Java"],"articleSection":["Java Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/java-vs-c\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/","url":"https:\/\/data-flair.training\/blogs\/java-vs-c\/","name":"Java Vs C++ | Difference between C++ and Java - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/12\/Python-Installation-1.jpg","datePublished":"2018-04-17T11:26:26+00:00","dateModified":"2026-05-30T10:13:27+00:00","description":"Java vs C++ tutorial, what is Java Programming language, what is C++, a difference between C++ and Java, Comparison between Java and C++,","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/java-vs-c\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/12\/Python-Installation-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/12\/Python-Installation-1.jpg","width":802,"height":420,"caption":"Python Install on Windows"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/java-vs-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Java Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/java\/"},{"@type":"ListItem","position":3,"name":"Java Vs C++ | Difference between C++ and Java"}]},{"@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\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/13713","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=13713"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/13713\/revisions"}],"predecessor-version":[{"id":148520,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/13713\/revisions\/148520"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/29441"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=13713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=13713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=13713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}