{"id":17231,"date":"2023-07-26T07:08:26","date_gmt":"2023-07-26T07:08:26","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=17231"},"modified":"2024-08-08T07:01:18","modified_gmt":"2024-08-08T07:01:18","slug":"how-to-convert-int-to-string-in-java","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/","title":{"rendered":"How to Convert int to string in Java"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg\" alt=\"\" \/><\/p>\n<p>In Java programming, converting data types is a common task, especially when dealing with numerical data and string manipulation. Converting an int to a String is a frequently needed operation, whether it be for logging purposes, user interface display, or data manipulation. Understanding the various ways to perform this conversion efficiently and correctly is essential for any Java developer. This article will guide you through the different methods available to convert an int to a String in Java, ensuring you have the knowledge to choose the best approach for your specific needs.<\/p>\n<h2>Different ways to convert int to string Java<\/h2>\n<p>Here are some of the most common ways to convert int to string java. So let us discuss each of the approaches in detail<\/p>\n<ol>\n<li>\n<p><strong>Using <code>String.valueOf()<\/code> method:<\/strong><\/p>\n<pre><code>public class IntToStringExample {\n    public static void main(String[] args) {\n        int number = 123;\n        String strNumber = String.valueOf(number);\n        System.out.println(strNumber);\n    }\n}<\/code><\/pre>\n<p><strong>Output<\/strong><\/p>\n<pre><code>123<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>By concatenating the <code>int<\/code> with an empty string:<\/strong><\/p>\n<pre><code>public class IntToStringExample {\n    public static void main(String[] args) {\n        int number = 123;\n        String strNumber = \"\" + number;\n        System.out.println(strNumber);\n    }\n}<\/code><\/pre>\n<p><strong>Output<\/strong><\/p>\n<pre><code>123<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Using the <code>Integer.toString()<\/code> method:<\/strong><\/p>\n<pre><code>public class IntToStringExample {\n    public static void main(String[] args) {\n        int number = 123;\n        String strNumber = Integer.toString(number);\n        System.out.println(strNumber);\n    }\n}<\/code><\/pre>\n<p><strong>Output<\/strong><\/p>\n<pre><code>123<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Using <code>String.format()<\/code> method:<\/strong><\/p>\n<pre><code>public class IntToStringExample {\n    public static void main(String[] args) {\n        int number = 123;\n        String strNumber = String.format(\"%d\", number);\n        System.out.println(strNumber);\n    }\n}<\/code><\/pre>\n<p><strong>Output<\/strong><\/p>\n<pre><code>123<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Using <code>StringBuilder<\/code> or <code>StringBuffer<\/code>:<\/strong><\/p>\n<pre><code>public class IntToStringExample {\n    public static void main(String[] args) {\n        int number = 123;\n        StringBuilder stringBuilder = new StringBuilder();\n        stringBuilder.append(number);\n        String strNumber = stringBuilder.toString();\n        System.out.println(strNumber);\n    }\n}<\/code><\/pre>\n<p><strong>Output<\/strong><\/p>\n<pre><code>123<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Using the <code>String<\/code> constructor:<\/strong><\/p>\n<pre><code>public class IntToStringExample {\n    public static void main(String[] args) {\n        int number = 123;\n        String strNumber = new String(String.valueOf(number));\n        System.out.println(strNumber);\n    }\n}<\/code><\/pre>\n<p><strong>Output<\/strong><br \/>\n123<\/p>\n<\/li>\n<\/ol>\n<p><strong>Conclusion<\/strong><br \/>\nConverting an int to a String in Java is a straightforward task, with several methods available to suit different programming contexts. Whether you use String.valueOf(), Integer.toString(), or concatenation, each approach provides a reliable way to transform your numerical data into a string format. Understanding these methods and their appropriate use cases will enhance your ability to handle data conversion tasks efficiently in your Java programs. By mastering these conversion techniques, you can ensure your code is both functional and adaptable to various application requirements.<\/p>\n<h2>Frequently Asked Questions (FAQs) related to How to Convert int to string In Java<\/h2>\n<p>Here are some of the most common FAQs on how to convert integer to string in Java<\/p>\n<p><strong>1. What is the simplest way to convert an int to a String in Java?<\/strong><br \/>\nThe simplest way to convert an int to a String is by using the String.valueOf() method. For example:<\/p>\n<pre><code>int num = 123;\nString str = String.valueOf(num);<\/code><\/pre>\n<p><strong>2. Can you use concatenation to convert an int to a String?<\/strong><br \/>\nYes, you can use concatenation to convert an int to a String. When you concatenate an int with an empty string, Java automatically converts the int to a String:<\/p>\n<pre><code>int num = 123;\nString str = num + \"\";<\/code><\/pre>\n<p><strong>3. What is the difference between String.valueOf() and Integer.toString()?<\/strong><br \/>\nBoth String.valueOf(int) and Integer.toString(int) methods convert an int to a String. The primary difference is in their implementation. String.valueOf(int) calls Integer.toString(int) internally. Here are examples of both methods:<\/p>\n<pre><code>int num = 123;\nString str1 = String.valueOf(num);\nString str2 = Integer.toString(num);<\/code><\/pre>\n<p>Both str1 and str2 will contain the string &quot;123&quot;.<\/p>\n<p><strong>4. Are there any performance differences between the methods?<\/strong><br \/>\nPerformance differences between String.valueOf(int) and Integer.toString(int) are negligible since String.valueOf(int) internally calls Integer.toString(int). Concatenation is also efficient but can be less readable and might introduce additional overhead in complex expressions. For clarity and maintainability, String.valueOf(int) or Integer.toString(int) are preferred.<\/p>\n<p><strong>5. Can I convert an int to a String using String.format()?<\/strong><br \/>\nYes, you can use String.format() to convert an int to a String. This method is useful if you need to format the number in a specific way:<\/p>\n<pre><code>int num = 123;\nString str = String.format(\"%d\", num);<\/code><\/pre>\n<p>This will convert num to a string &quot;123&quot;. You can also use String.format() to include additional formatting, such as padding with zeros or aligning numbers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Java programming, converting data types is a common task, especially when dealing with numerical data and string manipulation. Converting an int to a String is a frequently needed operation, whether it be for logging purposes, user interface display, or data manipulation. Understanding the various ways to perform this conversion efficiently and correctly is essential [&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,162],"tags":[],"class_list":["post-17231","post","type-post","status-publish","format-standard","hentry","category-java","category-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Convert int to string in Java<\/title>\n<meta name=\"description\" content=\"Converting a &#039;int&#039; to a &#039;String&#039; in Java is a fundamental operation that you will encounter frequently throughout your programming career.\" \/>\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\/how-to-convert-int-to-string-in-java\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Convert int to string in Java\" \/>\n<meta property=\"og:description\" content=\"Converting a &#039;int&#039; to a &#039;String&#039; in Java is a fundamental operation that you will encounter frequently throughout your programming career.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-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-07-26T07:08:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-08T07:01:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.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\/how-to-convert-int-to-string-in-java\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"How to Convert int to string in Java\",\"datePublished\":\"2023-07-26T07:08:26+00:00\",\"dateModified\":\"2024-08-08T07:01:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/\"},\"wordCount\":529,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg\",\"articleSection\":[\"Java\",\"Javascript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/\",\"name\":\"How to Convert int to string in Java\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg\",\"datePublished\":\"2023-07-26T07:08:26+00:00\",\"dateModified\":\"2024-08-08T07:01:18+00:00\",\"description\":\"Converting a 'int' to a 'String' in Java is a fundamental operation that you will encounter frequently throughout your programming career.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-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\":\"How to Convert int to string 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":"How to Convert int to string in Java","description":"Converting a 'int' to a 'String' in Java is a fundamental operation that you will encounter frequently throughout your programming career.","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\/how-to-convert-int-to-string-in-java\/","og_locale":"en_US","og_type":"article","og_title":"How to Convert int to string in Java","og_description":"Converting a 'int' to a 'String' in Java is a fundamental operation that you will encounter frequently throughout your programming career.","og_url":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-07-26T07:08:26+00:00","article_modified_time":"2024-08-08T07:01:18+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.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\/how-to-convert-int-to-string-in-java\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"How to Convert int to string in Java","datePublished":"2023-07-26T07:08:26+00:00","dateModified":"2024-08-08T07:01:18+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/"},"wordCount":529,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg","articleSection":["Java","Javascript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/","url":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/","name":"How to Convert int to string in Java","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg","datePublished":"2023-07-26T07:08:26+00:00","dateModified":"2024-08-08T07:01:18+00:00","description":"Converting a 'int' to a 'String' in Java is a fundamental operation that you will encounter frequently throughout your programming career.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-in-java\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1690355223545-Topic%20%2826%29.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/how-to-convert-int-to-string-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":"How to Convert int to string 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\/17231","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=17231"}],"version-history":[{"count":3,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/17231\/revisions"}],"predecessor-version":[{"id":19362,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/17231\/revisions\/19362"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=17231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=17231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=17231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}