

{"id":7827,"date":"2018-02-10T12:34:05","date_gmt":"2018-02-10T12:34:05","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=7827"},"modified":"2026-05-30T15:37:18","modified_gmt":"2026-05-30T10:07:18","slug":"overloading-vs-overriding","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/","title":{"rendered":"Method Overloading vs Overriding in Java"},"content":{"rendered":"<p>This article is solely dedicated to clear the concepts of overriding Vs overloading in Java. These concepts are often confused and it results in a lot of discrepancies among developers. In order to become a successful programmer, you have to master the concepts and understand the key differences between them. We know that these two concepts sound very similar but they are actually different in their implementations.<\/p>\n<p>Let us dive in and learn Method Overloading vs Overriding in Java.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84364\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.jpg\" alt=\"Method Overloading vs overriding in java\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df-720x377.jpg 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df-520x272.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df-320x167.jpg 320w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<h3>Method Overloading in Java<\/h3>\n<p>Method Overloading in Java is the process of having different function implementations with the same function name. You might think of this as a function that behaves differently when different inputs pass through it. You use method overloading every day. Let us look at an example.<\/p>\n<p>Let us say that your brain has a function called talk() which allows you to communicate with people around you. When you decide to talk to your friends, your body language is friendly and you crack jokes and mimic each other whilst having fun. But when you are talking with your parents, your behavior changes to being more respectful. You lower your tone and speak gently.<\/p>\n<p>Notice that your brain is executing the same function talk() but, the behavior of the function changes based on the people you are talking to. This is method overloading in programming terms.<\/p>\n<p>Now that you have understood the concept let us dive into the technicalities with a beautiful example. Shall we? In java, if the function has the same name but different parameters, then it is function overloading.<\/p>\n<h4>Why Method Overloading?<\/h4>\n<p>Method overloading simply gives us the liberty of defining multiple functions with the same name in a program. This allows the code to be simple and efficient because the method calls are resolved during runtime.<\/p>\n<p>This takes into account the fact that the same operation may have different implementations based on the parameters of the function. For example, adding two numbers means mathematical addition but adding two strings means concatenating them together.<\/p>\n<p><strong>Java program to illustrate the use of method overloading:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.dataflair.overloadvsoverride;\r\npublic class OverloadExample {\r\n  public static int area(int side) {\r\n    \/\/calculates and returns the area of square\r\n    return side * side;\r\n  }\r\n  public static int area(int side1, int side2) {\r\n    \/\/calculates and returns the area of rectangle\r\n    return side1 * side2;\r\n  }\r\n\r\n  public static void main(String[] args) {\r\n    System.out.println(area(5));\r\n    System.out.println(area(5, 2));\r\n  }\r\n}<\/pre>\n<p>Output:<\/p>\n<div class=\"code-output\">25<br \/>\n10<\/div>\n<p>Notice that the compiler executes the functions based on the number and type of parameters each of the functions has in their definition.<\/p>\n<p>Now that we understand what overloading is, let us take a look at overriding in Java.<\/p>\n<h4>Rules of Method Overloading in Java<\/h4>\n<ul>\n<li>You cannot overload a return type in Java<\/li>\n<li>The arguments to a function have to be different even when we overload static or final methods.<\/li>\n<li>You can also overload the main method in Java.<\/li>\n<li>The method name should be the same to perform method overloading.<\/li>\n<li>Methods can be overloaded when both methods are in the same class or if there is an inheritance then the child class can do method overloading.<\/li>\n<\/ul>\n<h3>Method Overriding in Java<\/h3>\n<p>Overriding is simply redefining a function of the parent class in the child class. In layman\u2019s terms, if there is a child class that inherits a method from a parent class, the child class can have a different implementation of the same method! This process of redefining the method in the child class is known as Method overriding.<\/p>\n<p>A very good real-life example would be you learning to bowl from your father but you decide to be a spinner instead of being a fast bowler like your dad. You just think that you will get more wickets that way.<\/p>\n<p>So you override the method which you learned from your father and implement it in your own way. That is method overriding. Let us see an example that will help us grasp the topic even better!<\/p>\n<p><strong>Program to illustrate the use of method overriding in java:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.dataflair.overloadvsoverride;\r\nclass Father {\r\n  void bowl() {\r\n    System.out.println(\"Fast Bowler\");\r\n  }\r\n}\r\nclass Child extends Father {\r\n  void bowl() {\r\n    System.out.println(\"Spin Bowler!\");\r\n  }\r\n}\r\n\r\npublic class OverridingExample {\r\n  public static void main(String[] args) {\r\n    Father f = new Father();\r\n    f.bowl();\r\n    Father c = new Child();\r\n    c.bowl();\r\n  }\r\n\r\n}<\/pre>\n<p>Output:<\/p>\n<div class=\"code-output\">Fast Bowler<br \/>\nSpin Bowler!<\/div>\n<p>Notice how we created an instance of the child class which had a modified definition of the \u201cbowl\u201d function! This is method overriding.<\/p>\n<h4>Rules of Java Method Overriding<\/h4>\n<ul>\n<li>You cannot override a final method.<\/li>\n<li>You can only override a method that has the same or stronger access than the current method.<\/li>\n<li>You cannot override a static method.<\/li>\n<li>You cannot override a constructor.<\/li>\n<li>The return type of an overridden method must be the same.<\/li>\n<li>You cannot override a private method. \u2018<\/li>\n<li>In method overriding, the method name and the parameters used must be the same as defined in the superclass.<\/li>\n<li>The return type of the methods should remain the same.<\/li>\n<\/ul>\n<h3>Method Overriding Vs Method Overloading<\/h3>\n<p><strong>1.<\/strong> Overloading occurs during compile time, whereas overriding occurs during runtime. In simple words, the compiler knows which method to execute in method overloading. In the example above, the compiler knows which method to execute as soon as the compiler compiles the program. This is static binding.<\/p>\n<p><strong>2.<\/strong> Overriding occurs during runtime, i.e, the compiler does not know what method to execute during compilation. It is executed during runtime. This is dynamic binding.<\/p>\n<p><strong>3.<\/strong> Overloading occurs within the class itself, whereas overriding requires inheritance between classes.<\/p>\n<p><strong>4.<\/strong> You can overload static functions in a class. This essentially means that you can have two or more static methods with the same name but different parameters.<\/p>\n<p><strong>5.<\/strong> Overriding static methods is not possible because of dynamic typing.<\/p>\n<p><strong>6.<\/strong> Overloading is more efficient than Overriding due to the fact that the compiler resolves the methods during runtime.<\/p>\n<p><strong>7.<\/strong> You can overload final or private methods in Java but you cannot override them. This basically means that you can have one or more final\/private methods in the same class. But you cannot redefine a final or private method in a child class.<\/p>\n<p><strong>8.<\/strong> The return type for overloaded methods can be of any type. However, there are certain limitations to the return type of overridden methods. Check out the previous articles on method overriding to know more.<\/p>\n<p><strong>9.<\/strong> The argument list, or the parameter list, should be different while implementing function overloading. However, the parameter list should be the same while implementing method overriding.<\/p>\n<h3>Difference between Method Overloading and Method Overriding<\/h3>\n<table>\n<tbody>\n<tr>\n<td style=\"text-align: center\"><b>Method Overloading<\/b><\/td>\n<td style=\"text-align: center\"><b>Method Overriding<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Enhances readability of the program<\/span><\/td>\n<td><span style=\"font-weight: 400\">Redefines a method which is already present in the parent class.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">All operations involve only one class.<\/span><\/td>\n<td><span style=\"font-weight: 400\">Overriding involves inheritance between multiple classes.\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Classic example of compile type polymorphism(Static binding)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Classic example of Run-time polymorphism(Dynamic Binding)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">The parameters of the function must differ but the name should be the same.<\/span><\/td>\n<td><span style=\"font-weight: 400\">The parameters and the name should be the same.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Two overloaded functions can have different return types.\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400\">The functions must have the same return type.\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">One can overload static methods<\/span><\/td>\n<td><span style=\"font-weight: 400\">Overriding static methods leads to method hiding and therefore not practiced.\u00a0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Summary<\/h3>\n<p>Here in this article, we came to know about the main differences between method overloading and overriding and when to use which. If you manage to understand these concepts nothing can stop you from writing efficient and clean code. You will also avoid redundant code blocks in the process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is solely dedicated to clear the concepts of overriding Vs overloading in Java. These concepts are often confused and it results in a lot of discrepancies among developers. In order to become&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":84364,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[8662,8666,8667,8668,8674],"class_list":["post-7827","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","tag-method-overloading-examples","tag-method-overloading-vs-method-overriding-in-java","tag-method-overloading-vs-overriding-in-java","tag-method-overriding-and-overloading-method-in-java","tag-method-overriding-vs-overloading-in-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Method Overloading vs Overriding in Java - DataFlair<\/title>\n<meta name=\"description\" content=\"Method Overloading vs Overriding in Java- difference between Method Overloading and Overriding in java, Method overloading example,Method overriding example\" \/>\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\/overloading-vs-overriding\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Method Overloading vs Overriding in Java - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Method Overloading vs Overriding in Java- difference between Method Overloading and Overriding in java, Method overloading example,Method overriding example\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/\" \/>\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-02-10T12:34:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-30T10:07:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.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=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Method Overloading vs Overriding in Java - DataFlair","description":"Method Overloading vs Overriding in Java- difference between Method Overloading and Overriding in java, Method overloading example,Method overriding example","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\/overloading-vs-overriding\/","og_locale":"en_US","og_type":"article","og_title":"Method Overloading vs Overriding in Java - DataFlair","og_description":"Method Overloading vs Overriding in Java- difference between Method Overloading and Overriding in java, Method overloading example,Method overriding example","og_url":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-02-10T12:34:05+00:00","article_modified_time":"2026-05-30T10:07:18+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Method Overloading vs Overriding in Java","datePublished":"2018-02-10T12:34:05+00:00","dateModified":"2026-05-30T10:07:18+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/"},"wordCount":1140,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.jpg","keywords":["Method Overloading examples","Method Overloading vs method Overriding in Java","Method Overloading vs Overriding in Java","method Overriding and overloading method in Java","Method Overriding vs Overloading in Java"],"articleSection":["Java Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/","url":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/","name":"Method Overloading vs Overriding in Java - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.jpg","datePublished":"2018-02-10T12:34:05+00:00","dateModified":"2026-05-30T10:07:18+00:00","description":"Method Overloading vs Overriding in Java- difference between Method Overloading and Overriding in java, Method overloading example,Method overriding example","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/02\/Method-Overloading-vs-overriding-in-java-df.jpg","width":1200,"height":628,"caption":"Method Overloading vs overriding in java"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/overloading-vs-overriding\/#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":"Method Overloading vs Overriding in 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\/7827","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=7827"}],"version-history":[{"count":8,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/7827\/revisions"}],"predecessor-version":[{"id":148517,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/7827\/revisions\/148517"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/84364"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=7827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=7827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=7827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}