{"id":76219,"date":"2020-02-07T10:28:32","date_gmt":"2020-02-07T04:58:32","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=76219"},"modified":"2020-02-07T10:28:32","modified_gmt":"2020-02-07T04:58:32","slug":"java-class","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/java-class\/","title":{"rendered":"Java Class and Objects &#8211; Easy Learning with Real-life Examples!"},"content":{"rendered":"<p>We know that Java is an Object-Oriented programming language. Everything in Java revolves around a class. But before going much further in the study of Java, you need to be familiar with the most fundamental OOP concepts which are Java Class and Java Object.<\/p>\n<p>Java Classes and Objects are one of the core building blocks of Java applications, frameworks and APIs (Application Programming Interfaces).<\/p>\n<p>A class is a non-primitive or user-defined <em><strong>data type in Java<\/strong><\/em>, while an object is an instance of a class. A class is a basis upon which the entire Java is built because class defines the nature of an object.<\/p>\n<p>Since all the activities in a Java program occur within a class, we have already been using classes and objects since the start of this Java tutorial.<\/p>\n<p>Of course, those were extremely simple classes that we have used, but we didn\u2019t take advantage of the majority of the useful features of classes. There are many things that you do not know about Java classes and objects, so let us understand them in this tutorial.<\/p>\n<h3>Objects and Classes in Java<\/h3>\n<p>Let&#8217;s first understand the concept of Object and Class in Java &#8211;<\/p>\n<h4>Object:<\/h4>\n<p>An object is an identifiable entity with some characteristics, state and behavior. Understanding the concept of objects is much easier when we consider real-life examples around us because an object is simply a real-world entity.<\/p>\n<p>You will find yourself surrounded by the number of objects which have certain characteristics and behaviors.<\/p>\n<p><em>For example, we can say <strong>\u2018Orange\u2019<\/strong> is an object. Its characteristics are: spherical in shape and color is orange. Its behavior is: juicy and tastes sweet-sour.<\/em><\/p>\n<h4>Class:<\/h4>\n<p>A class is a group of objects that share common properties and behavior.<\/p>\n<p><em>For example, we can consider a car as a class that has characteristics like steering wheels, seats, brakes, etc. And its behavior is mobility. But we can say <strong>Honda City<\/strong> having a reg.number 4654 is an \u2018object\u2019 that belongs to the class <strong>\u2018car\u2019<\/strong>.<\/em><\/p>\n<p>It was a brief description of objects and classes. Now we will understand the Java class in detail.<\/p>\n<h3>Java Class<\/h3>\n<p>The core element of Object orientation in Java is <strong>the class<\/strong>. A class is often defined as the blueprint or template for an object. We can create multiple objects from a class. It is a logical entity that does not occupy any space\/memory.<\/p>\n<p>Memory is allocated when we create the objects of a class type. A class contains properties and methods to define the state and behavior of its object. It defines the data and the methods that act upon that data.<\/p>\n<p>Have you ever thought why a class is the blueprint of an object?? The reason is :<\/p>\n<p>A class allows the programmer to define all the properties and methods that internally define the state and behavior of an object, and all the APIs that externally define an object, and also the complete syntax for handling encapsulation, abstraction, polymorphism, and inheritance.<\/p>\n<p>Therefore, we can say that a class is the <strong>BLUEPRINT<\/strong> of an object.<\/p>\n<p>A class defines the shared characteristics like &#8211;<\/p>\n<ul>\n<li>The set of attributes\/properties<\/li>\n<li>The set of behavior or methods or actions<\/li>\n<li>How to construct an object<\/li>\n<\/ul>\n<p><strong>Objects are the \u201cinstances\u201d of a Class:<\/strong><\/p>\n<p>The class as a blueprint specifies what an object will look like. You can think of a class as a cookie cutter and an instance as an actual cookie!! Similarly, you can consider a class as <em>\u201cMobiles\u201d and Samsung, Nokia mobiles<\/em> as objects of the class Mobile.<\/p>\n<p><strong>\u201cClass is the basis of all Computation in Java\u201d<br \/>\n<\/strong><\/p>\n<p>A class forms the basis of all computation in Java. Anything that exists as a part of the Java program has to be present as a part of a class, whether it is a variable or a method or any other code fragments.<\/p>\n<p>The reason is that Java is a pure Object Oriented language, in which all the functionalities revolve around the <strong>classes and objects<\/strong>. All Java programs contain objects that interact with each other by calling <strong>methods.<\/strong><\/p>\n<p>So, without a class, there can be no objects and without objects, no computation can take place in Java. Thus, a class is the basis of all computations in Java.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-class-objects.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76250\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-class-objects.jpg\" alt=\"ava-class-&amp;-objects\" width=\"802\" height=\"420\" \/><\/a><\/p>\n<p><strong>Some Important points about a class:<\/strong><\/p>\n<ul>\n<li>In Java, we can not declare a top-level class as private. Java allows only public and default access specifiers for top-level classes. We can declare inner classes as private.<\/li>\n<li>We can include any type of the three <em><strong>variables in Java<\/strong><\/em> &#8211;<em> local, instance and static variables.<\/em><\/li>\n<li>There can be only one public class in a single program and its name should be the same as the name of the Java file. There can be more than one non-public classes in a single Java file.<\/li>\n<li>A public class is visible to all classes from all the packages.<\/li>\n<li>A class with default access is visible only to the classes within the same package.<\/li>\n<li>We can also use the non-access modifiers for the class such as final, abstract and strictfp.<\/li>\n<li>We cannot create an object or instance of an abstract class.<\/li>\n<li>No subclasses or child class can be created from a class that is declared as final.<\/li>\n<li>A class cannot be declared both as final and abstract at the same time.<\/li>\n<\/ul>\n<h3>Declaration of Java Classes<\/h3>\n<p>In order to bring class into existence, we should declare it. We can declare a class with the use of a <strong>class<\/strong> keyword.<\/p>\n<p>The components of the Java Class declaration are &#8211;<\/p>\n<p><strong>1. Access Modifiers<\/strong> \u2013 We can access Java classes using any access modifiers such as <strong>public, private, protected and default.<\/strong><\/p>\n<p><strong>2. Class Name<\/strong> \u2013 In Java, the class name generally represents nouns which should begin with a capital letter without any spaces.<\/p>\n<p><strong>3. Superclass (if any)<\/strong> \u2013 The name of the parent class is a superclass and its child class is a subclass, and child class inherits the properties of a parent using the extends keyword. A subclass can only inherit a single parent.<\/p>\n<p><strong>4. Interfaces (if any)<\/strong> \u2013 To declare an interface, we just write the keyword interface followed by the interface name.<\/p>\n<p><strong>5. Class Body<\/strong> \u2013 The class body follows the class declaration and embeds within curly braces {}.<\/p>\n<p><strong>The syntax for declaring classes:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;access-modifier&gt; class &lt;ClassName&gt;\n  {\n    \/\/Class body containing variables and methods\n  }\n<\/pre>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">public class Student\n{\n  String name;\n  int age;\n        void display()\n  {\n         \/\/method body;\n  }\n}\n<\/pre>\n<p><strong>Code Snippet:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">\/\/declaring a class\npublic class Person\n{ \/\/class body starts here\n\n  \/\/creating the data members of the class\n  static String name = \"John\";\n  static int age = 25;\n\n  \/\/creating the methods of the class\n  void eat()\n  {\n    \/\/methodBody\n  }\n  void study()\n  {\n    \/\/methodBody\n  }\n  void play()\n  {\n    \/\/methodBody\n  }\n  public static void main(String args[])\n  {\n    System.out.println(\"Name of the person: \" +name);\n    System.out.println(\"Age of the person: \" +age);\n  }\n} class body ends here<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Name of the person: John<br \/>\nAge of the person: 25<\/div>\n<h3>Creating Objects from a Java Class<\/h3>\n<p>We know that an object is an instance of a class. To create an object of a class, first, we need to declare it and then instantiate it with the help of a <strong>\u201cnew\u201d<\/strong> keyword.<\/p>\n<p><strong>Syntax of creating an object of a class:<\/strong><\/p>\n<p>To create an object of a class, specify the class name, followed by the object name, by using the <strong>new<\/strong> keyword &#8211;<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">ClassName objectName = new ClassName();<\/pre>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">MyClass object1 = new MyClass();<\/pre>\n<h4>Accessing the members of a Java Class<\/h4>\n<p>We can access the data members of a class using the object of the class. We just write the name of the object which is followed by a dot operator then we write the name of the data member (either variables or methods) which we want to access.<\/p>\n<p><strong>Syntax of accessing data members and methods of a Java Class:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">objectName.variableName; \/\/accessing the variables\nobjectName.MethodName(); \/\/accessing the methods<\/pre>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Object1.number; \/\/accessing the variables\nobject1.display(); \/\/accessing the methods<\/pre>\n<p><strong>Code snippet to understand the usage of Java Class and Object:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">\/\/creating a class named City\npublic class City\n{\n  \/\/declaring class variables\n  public String name;\n  public long population;\n\n  \/\/defining the method of the class\n  public void display()\n  {\n    System.out.println(\"City name: \" +name);\n    System.out.println(\"Population: \" +population);\n  }\n  public static void main(String args[])\n  {\n    \/\/declaring the objects of the class City\n    City metro1,metro2;\n\n    \/\/Instantiating the objects of the class using the new keyword\n    metro1 = new City();\n    metro2 = new City();\n\n    metro1.name =\"Delhi\";\n    metro1.population = 10000000;\n    System.out.println(\"Details of metro city 1:\");\n    metro1.display(); \/\/display() method is being invoked for the object metro1\n\n    metro2.name =\"Bangalore\";\n    metro2.population = 5000000;\n    System.out.println(\"Details of metro city 2:\");\n    metro2.display(); \/\/display() method is being invoked for the object metro2\n\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Details of metro city 1:<br \/>\nCity name: Delhi<br \/>\nPopulation: 10000000<br \/>\nDetails of metro city 2:<br \/>\nCity name: Bangalore<br \/>\nPopulation: 5000000<\/div>\n<h3>Using Multiple Java Classes<\/h3>\n<p>Using multiple classes means that we can create an object of a class and use it in another class. Also, we can access this object in multiple classes.<\/p>\n<p>One class contains all the properties, fields and methods while the other class contains a main() method in which we write the code which has to be executed. We often use this concept for proper organization and management of classes.<\/p>\n<p>We have to keep one thing in mind that the name of the class should be the same as the name of the java file. Now, we will understand this with the help of an example, in which we will create two files in the same folder: <em><strong>ClassOne.java and ClassTwo.java<\/strong><\/em><\/p>\n<p><strong>ClassOne.java :<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">public class ClassOne\n{\nString sentence = \u201cHello World\u201d;\n}<\/pre>\n<p><strong>ClassTwo.java :<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">public class ClassTwo\n{\n    \tpublic static void main(String[] args)\n    \t{\n    \t\tClassOne object1 = new ClassOne();\n    \t\tSystem.out.println(object1.sentence);\n  \t}\n}<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Hello World<\/div>\n<h3>Summary<\/h3>\n<p>For programming in Java, a class is as important as breathing is to us to stay alive. It is the most basic unit of Object-oriented programming in Java. We cannot create a single variable or function outside a class.<\/p>\n<p>Everything in Java needs to exist inside the class. By this tutorial, you might have understood the importance of classes in Java. We also covered the syntax for creating classes and also creating objects from the classes.<\/p>\n<p>We also discussed the examples and sample codes so that you can easily implement them in your own programs.<\/p>\n<p>Thank you for reading our article. Don&#8217;t forget to share your feedback below in the comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We know that Java is an Object-Oriented programming language. Everything in Java revolves around a class. But before going much further in the study of Java, you need to be familiar with the most&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":76250,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[1618,1619,1620,1621,1594,1622,1623],"class_list":["post-76219","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","tag-classes-and-objects-in-java","tag-creating-objects-using-java-class","tag-introduction-to-java-class","tag-java-class","tag-java-objects","tag-multiple-java-class","tag-what-are-java-classes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java Class and Objects - Easy Learning with Real-life Examples! - TechVidvan<\/title>\n<meta name=\"description\" content=\"Everything in Java needs to exist inside the Class. Get a brief understanding of Java Classes with real life examples &amp; how objects are created using Java Class.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/java-class\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Class and Objects - Easy Learning with Real-life Examples! - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Everything in Java needs to exist inside the Class. Get a brief understanding of Java Classes with real life examples &amp; how objects are created using Java Class.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/java-class\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-07T04:58:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-class-objects.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=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java Class and Objects - Easy Learning with Real-life Examples! - TechVidvan","description":"Everything in Java needs to exist inside the Class. Get a brief understanding of Java Classes with real life examples & how objects are created using Java Class.","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:\/\/techvidvan.com\/tutorials\/java-class\/","og_locale":"en_US","og_type":"article","og_title":"Java Class and Objects - Easy Learning with Real-life Examples! - TechVidvan","og_description":"Everything in Java needs to exist inside the Class. Get a brief understanding of Java Classes with real life examples & how objects are created using Java Class.","og_url":"https:\/\/techvidvan.com\/tutorials\/java-class\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2020-02-07T04:58:32+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-class-objects.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Java Class and Objects &#8211; Easy Learning with Real-life Examples!","datePublished":"2020-02-07T04:58:32+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/"},"wordCount":1464,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-class-objects.jpg","keywords":["Classes and Objects in Java","Creating Objects using Java Class","Introduction to Java Class","Java class","java objects","Multiple Java Class","What are Java Classes"],"articleSection":["Java Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/java-class\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/","url":"https:\/\/techvidvan.com\/tutorials\/java-class\/","name":"Java Class and Objects - Easy Learning with Real-life Examples! - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-class-objects.jpg","datePublished":"2020-02-07T04:58:32+00:00","description":"Everything in Java needs to exist inside the Class. Get a brief understanding of Java Classes with real life examples & how objects are created using Java Class.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/java-class\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-class-objects.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/02\/java-class-objects.jpg","width":802,"height":420,"caption":"ava-class-&-objects"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/java-class\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Java Class and Objects &#8211; Easy Learning with Real-life Examples!"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/76219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=76219"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/76219\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/76250"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=76219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=76219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=76219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}