{"id":12190,"date":"2023-01-27T07:01:36","date_gmt":"2023-01-27T07:01:36","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=12190"},"modified":"2023-09-22T07:29:51","modified_gmt":"2023-09-22T07:29:51","slug":"default-constructor-in-java","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/","title":{"rendered":"Default Constructor in Java"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg\" alt=\"\" \/><\/p>\n<p>The constructor concept in Java is critical in object-oriented design because it allows for the creation and initialization of objects. The default constructor in Java is unique among these constructors. The default constructor in Java is a fundamental building block that Java provides by default if a class does not define any constructors explicitly. The default constructor, as the foundation of object instantiation, initializes objects with default values, ensuring that the newly created instance is ready for use. While it may appear simple, the default constructor is a critical starting point for more complex object-oriented designs, allowing classes to be instantiated without the need for explicit constructor definitions. In this look at the default constructor in Java, we will look at its mechanics, its role in object creation, and how it interacts with other constructors to create robust and efficient Java applications.<\/p>\n<h2>What is a Constructor in Java?<\/h2>\n<p>A constructor in Java is a section of code that is identical to the method. When a class instance is created, it is called. Memory for the object is allocated in the memory at the time constructor is called.<\/p>\n<p>Constructor is a special type of method that is used to initialize an instance of a class in java.<\/p>\n<p>Every time a constructor is created using <strong>new<\/strong> keyword, then at least one constructor is called.<\/p>\n<p>If there is no constructor available in the class then the default constructor is called. By default, the Java compiler provides a default constructor.<\/p>\n<p><strong>Point to Remember:<\/strong> Because it constructs the values when an object is created, it is termed a constructor. The creation of a constructor for a class is not necessary. It&#8217;s because if your class doesn&#8217;t have a constructor, the Java compiler produces one.<\/p>\n<h2>Conditions for Creating Constructors in Java<\/h2>\n<p>There are three conditions defined for the constructor in Java:-<\/p>\n<ol>\n<li>The name of the constructor must be the same as its class name.<\/li>\n<li>A Constructor must have no return type.<\/li>\n<li>A Java constructor cannot be &#8211;\n<ul>\n<li>Static<\/li>\n<li>Abstract<\/li>\n<li>Final<\/li>\n<li>Synchronized<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2>Types of Constructors in Java<\/h2>\n<ol>\n<li>No-arg constructor.<\/li>\n<li>Parameterized constructor.<\/li>\n<li>Default constructor.<\/li>\n<\/ol>\n<h3>No-arg Constructor in Java<\/h3>\n<p>The No-arg constructor is a constructor that accepts no arguments. If we don&#8217;t define a constructor in a class, the compiler automatically builds one for the class (with no arguments). Additionally, the compiler does not produce a default constructor if we write a constructor with arguments or without arguments.<\/p>\n<h3>Parameterized Constructor in Java<\/h3>\n<p>Parameterized constructors are constructors that take parameters. Use a parameterized constructor if you wish to provide your own values as the default values for the class&#8217;s fields.<\/p>\n<h3>Default Constructor in Java<\/h3>\n<p>When the program is executed, the Java compiler automatically constructs a no-arg constructor if we don&#8217;t create one ourselves. The default constructor is the name given to this constructor.<\/p>\n<p><strong>Here is an Example:<\/strong><\/p>\n<pre><code>public class Person {\n  String firstName;\n  String lastName;\n  int age;\n}\npublic static void main(String args[]) {\n    Person person1= new Person();\n\n    person1.firstName = \"Manoj\";\n    person1.lastName = \"Kumar\";\n    person1.age = 21;\n    System.out.println(person1.age);   \n    System.out.println(person1.firstName);\n}<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre><code>21\nManoj<\/code><\/pre>\n<p>Did you notice? we did not define any constructor before creating person1 to initialize the attributes created in the class.<br \/>\nThis will not throw an error. Rather, the compiler will create an empty constructor but we will not see this constructor anywhere in the code \u2013 this happens behind the scenes.<br \/>\nWhen the compiler begins to run the code, it will seem as follows:<\/p>\n<pre><code>public class Person {\n  String firstName;\n  String lastName;\n  int age;\n\n  \/\/ default constructor\n  Person() { }\n\n}\npublic static void main(String args[]) {\n    Person person1= new Person();\n\n     person1.firstName = \"Manoj\";\n     person1.lastName = \"Kumar\";\n     person1.age = 21;\n\n     System.out.println(person1.age);   \n     System.out.println(person1.firstName);\n}<\/code><\/pre>\n<p>Many people mistakenly confuse the default constructor with the no-arg constructor, however in Java, they are two different constructors. In Java, a constructor that was developed specifically by the programmer is not regarded as a default constructor.<\/p>\n<h2>Purpose of Default Constructor in Java<\/h2>\n<p>In Java, a default constructor is a constructor that is automatically generated by the compiler if no other constructors are defined by a programmer in a class. Its purpose is to initialize the object&#8217;s attributes to their default values.<\/p>\n<p>Java has a default constructor, which takes no arguments and has an empty body. The default constructor is automatically created by the compiler if no constructors have been defined by the user in the class.<\/p>\n<p>For example, if a class has an attribute x with a default value of 0, the default constructor would initialize the value of x to 0 for any new object created from that class.<\/p>\n<p>It&#8217;s also possible to define a constructor with parameters in the class, this constructor will be called when an object is created with the provided parameters.<\/p>\n<p>In summary, the purpose of a default constructor in Java is to provide a basic initialization of an object&#8217;s attributes when it is created, so that the object can be used without having to manually set the attribute values.<\/p>\n<h2>The Key Differences between Constructors and Methods in Java<\/h2>\n<p>In Java, a constructor is a special type of method that is used to initialize an object when it is created. Constructors have the same name as the class, and they do not have a return type. They are automatically called when an object is created using the &quot;new&quot; keyword.<\/p>\n<p>A method, on the other hand, is a block of code that performs a specific task. Methods have a return type, and they can be called explicitly by the programmer. Methods can be used to perform operations on the object&#8217;s data, and they can also be used to return a result or a value.<\/p>\n<p><strong>In short:<\/strong><\/p>\n<ul>\n<li>Constructors are used to initialize an instance when it is created.<\/li>\n<li>Methods are used to perform operations on an object&#8217;s data and can return a result or value.<\/li>\n<li>Constructors have the same name as the class and do not have a return type.<\/li>\n<li>Methods have a return type and can be called explicitly by the programmer.<\/li>\n<\/ul>\n<p><strong>Conclusion<\/strong><br \/>\nIn this article, we discussed what are constructors in Java, and what are conditions to follow in order to create a constructor in java, we also look at the types of constructors in java. We also talked about default constructors in java and how constructors are different from methods in java.<\/p>\n<h2>Frequently Asked Questions (FAQs)<\/h2>\n<p>Here are some of the frequently asked questions about the default constructor in Java.<\/p>\n<p><strong>Q1. What is a default constructor in Java?<\/strong><br \/>\nA default constructor in Java is a constructor that is automatically provided by the Java compiler when a class does not explicitly define any constructors. It initializes object instances with default values, ensuring they are in a usable state upon creation.<\/p>\n<p><strong>Q2. What are default values assigned by the default constructor?<\/strong><br \/>\nThe default constructor initializes instance variables with default values, which are 0 for numeric types (like int, float), false for boolean, and null for object references.<\/p>\n<p><strong>Q3. How to explicitly define a default constructor in Java class?<\/strong><br \/>\nYes, you can explicitly define a default constructor in your class. However, if no constructor is defined at all, Java automatically provides a default constructor. If any constructor (including parameterized constructors) is defined, the default constructor is not generated.<\/p>\n<p><strong>Q4. When should you use the default constructor in Java?<\/strong><br \/>\nThe default constructor is useful when you want to create instances of a class with default values for its instance variables. It&#8217;s also important when you have subclasses, as they implicitly call the default constructor of the superclass if no constructor is explicitly invoked.<\/p>\n<p><strong>Q5. Can you change the default constructor&#8217;s behavior?<\/strong><br \/>\nThe behavior of the default constructor, which initializes instance variables with default values, is fixed and cannot be directly customized. However, you can define your own parameterized constructors to tailor the initialization process according to your needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The constructor concept in Java is critical in object-oriented design because it allows for the creation and initialization of objects. The default constructor in Java is unique among these constructors. The default constructor in Java is a fundamental building block that Java provides by default if a class does not define any constructors explicitly. The [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[143],"tags":[],"class_list":["post-12190","post","type-post","status-publish","format-standard","hentry","category-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Default Constructor in Java<\/title>\n<meta name=\"description\" content=\"Here, we will learn about constructors in java, the default constructors in Java, the purpose of default constructors in Java in detail.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Default Constructor in Java\" \/>\n<meta property=\"og:description\" content=\"Here, we will learn about constructors in java, the default constructors in Java, the purpose of default constructors in Java in detail.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/\" \/>\n<meta property=\"og:site_name\" content=\"PrepBytes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prepbytes0211\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-27T07:01:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-22T07:29:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg\" \/>\n<meta name=\"author\" content=\"Prepbytes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prepbytes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"Default Constructor in Java\",\"datePublished\":\"2023-01-27T07:01:36+00:00\",\"dateModified\":\"2023-09-22T07:29:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/\"},\"wordCount\":1238,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg\",\"articleSection\":[\"Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/\",\"name\":\"Default Constructor in Java\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg\",\"datePublished\":\"2023-01-27T07:01:36+00:00\",\"dateModified\":\"2023-09-22T07:29:51+00:00\",\"description\":\"Here, we will learn about constructors in java, the default constructors in Java, the purpose of default constructors in Java in detail.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/43.205.93.38\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\/\/prepbytes.com\/blog\/category\/java\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Default Constructor in Java\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/43.205.93.38\/#website\",\"url\":\"http:\/\/43.205.93.38\/\",\"name\":\"PrepBytes Blog\",\"description\":\"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING\",\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/43.205.93.38\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/43.205.93.38\/#organization\",\"name\":\"Prepbytes\",\"url\":\"http:\/\/43.205.93.38\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"contentUrl\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"width\":160,\"height\":160,\"caption\":\"Prepbytes\"},\"image\":{\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/prepbytes0211\/\",\"https:\/\/www.instagram.com\/prepbytes\/\",\"https:\/\/www.linkedin.com\/company\/prepbytes\/\",\"https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\",\"name\":\"Prepbytes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"caption\":\"Prepbytes\"},\"url\":\"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Default Constructor in Java","description":"Here, we will learn about constructors in java, the default constructors in Java, the purpose of default constructors in Java in detail.","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:\/\/prepbytes.com\/blog\/default-constructor-in-java\/","og_locale":"en_US","og_type":"article","og_title":"Default Constructor in Java","og_description":"Here, we will learn about constructors in java, the default constructors in Java, the purpose of default constructors in Java in detail.","og_url":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-01-27T07:01:36+00:00","article_modified_time":"2023-09-22T07:29:51+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"Default Constructor in Java","datePublished":"2023-01-27T07:01:36+00:00","dateModified":"2023-09-22T07:29:51+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/"},"wordCount":1238,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg","articleSection":["Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/","url":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/","name":"Default Constructor in Java","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg","datePublished":"2023-01-27T07:01:36+00:00","dateModified":"2023-09-22T07:29:51+00:00","description":"Here, we will learn about constructors in java, the default constructors in Java, the purpose of default constructors in Java in detail.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674802749248-Default%20Constructor%20in%20Java.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/default-constructor-in-java\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/43.205.93.38\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/prepbytes.com\/blog\/category\/java\/"},{"@type":"ListItem","position":3,"name":"Default Constructor in Java"}]},{"@type":"WebSite","@id":"http:\/\/43.205.93.38\/#website","url":"http:\/\/43.205.93.38\/","name":"PrepBytes Blog","description":"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING","publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/43.205.93.38\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/43.205.93.38\/#organization","name":"Prepbytes","url":"http:\/\/43.205.93.38\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/","url":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","contentUrl":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","width":160,"height":160,"caption":"Prepbytes"},"image":{"@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/prepbytes0211\/","https:\/\/www.instagram.com\/prepbytes\/","https:\/\/www.linkedin.com\/company\/prepbytes\/","https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA"]},{"@type":"Person","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e","name":"Prepbytes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","caption":"Prepbytes"},"url":"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/"}]}},"_links":{"self":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/12190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/comments?post=12190"}],"version-history":[{"count":3,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/12190\/revisions"}],"predecessor-version":[{"id":17974,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/12190\/revisions\/17974"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=12190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=12190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=12190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}