{"id":78938,"date":"2020-06-03T10:00:23","date_gmt":"2020-06-03T04:30:23","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=78938"},"modified":"2020-06-03T10:00:23","modified_gmt":"2020-06-03T04:30:23","slug":"java-stringtokenizer","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/","title":{"rendered":"Java StringTokenizer Class with Example"},"content":{"rendered":"<p>We have already worked with Strings in our article of Strings and in the most recent article of <strong>StringBuffer<\/strong> in Java.<\/p>\n<p>We always perform operations on Strings with the help of each character present in the String. What if we want to work with <strong>each word in a String or a sentence?<\/strong><\/p>\n<p>With String Tokenizer in Java, we can break a String into words, and such words are known as <strong>tokens<\/strong>.<\/p>\n<p>In this article, we will discuss the StringTokenizer class in Java which accomplishes this task of breaking a String into tokens and performing operations on these tokens.<\/p>\n<p>We will learn each method and constructor associated with this class with examples. So let\u2019s begin.<\/p>\n<h3>StringTokenizer in Java<\/h3>\n<p>A <strong>StringTokenizer<\/strong> class is a class present in the <strong>java.util<\/strong> package and it is used to break a String into tokens.<\/p>\n<p>In other words, we can split a sentence into its words and perform various operations like counting the number of tokens or breaking a sentence into tokens.<\/p>\n<p>There are constructors and methods in this StringTokenizer that help us to split a sentence into tokens. StringTokenizer, tokenize the string on the basis of the delimiters provided to the String tokenizer class object.<\/p>\n<p>The Common delimiters are the whitespaces, tab, newline, carriage return, and form feed.<\/p>\n<p>These delimiters are taken as default and if a user wants to provide its own delimiter then he can provide by defining the delimiter in the parameter as an argument.<\/p>\n<p>Let\u2019s take a simple example to understand the use of StringTokenizer class in Java.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/06\/Example-of-String-Tokenizer-class-in-Java.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78984\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/06\/Example-of-String-Tokenizer-class-in-Java.jpg\" alt=\"Example of String Tokenizer class in Java\" width=\"531\" height=\"440\" \/><\/a><\/p>\n<p>Let&#8217;s now fall on the programming parameters of the StringTokenizer Class and take a complete eye of this.<\/p>\n<h3>Java StringTokenizer Constructors<\/h3>\n<p>StringTokenizer generally describes three types of constructors:<\/p>\n<h4>1. StringTokenizer(String str)<\/h4>\n<p>This constructor is implemented to perform tokenization of a particular string that is being provided in the parameter.<\/p>\n<p>This constructor takes all the default delimiters which have been defined in the definition of the StringTokenizer class.<\/p>\n<p>The delimiter is: WhiteSpaces, newline, tab, carriage return \u201c\\r\u201d, Line feed \u201c\\n\u201d, and form feed \u201c\\f\u201d.<\/p>\n<h4>2. StringTokenizer(String str, String delimiter)<\/h4>\n<p>This constructor is implemented to perform string tokenization based on the delimiter provided by the user in the argument. This can be explained by an example:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">StringTokenizer st = new StringTokenizer(\u201ctechvidvan, article, on, StringTokenizer\u201d, \u201c,\u201d);\nwhile (st.hasMoreTokens())\n     System.out.println(st.nextToken());\n<\/pre>\n<p><strong>Output:<\/strong><br \/>\ntechvidvan<br \/>\narticle<br \/>\non<br \/>\nStringTokenizer<\/p>\n<h4>3. StringTokenizer(String str, String delimiter, boolean flag)<\/h4>\n<p>This Constructor is implemented to perform string tokenization based on the delimiter and has additional functionality to display delimiter also.<\/p>\n<p>This can be explained by an example:<\/p>\n<p><strong>Example of boolean = false :<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">StringTokenizer st = new StringTokenizer(\u201ctechvidvan, article, on, StringTokenizer\u201d, \u201c, \u201d, false);\nwhile (st.hasMoreTokens())\n    System.out.println(st.nextToken());<\/pre>\n<p>Here if the value of boolean is<strong> FALSE<\/strong> then token doesn\u2019t contain the delimiter i.e output is: \u201ctechvidvan\u201d, \u201c article\u201d, \u201c on\u201d, \u201c StringTokenizer\u201d<\/p>\n<p><strong>Example of boolean = true :<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">StringTokenizer st = new StringTokenizer(\u201ctechvidvan, article, on, StringTokenizer\u201d, \u201c, \u201d, true);\nwhile (st1.hasMoreTokens())\n    System.out.println(st.nextToken());<\/pre>\n<p>Here if the value of boolean is<strong> TRUE<\/strong> then token contain the delimiter i.e.,<\/p>\n<p><strong>The output is:<\/strong><br \/>\ntechvidvan<br \/>\n,<br \/>\narticle<br \/>\n,<br \/>\non<br \/>\n,<br \/>\nStringTokenizer<\/p>\n<h3>Class Diagram of Java StringTokenizer class<\/h3>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/06\/Class-Diagram-of-String-Tokenizer-in-Java.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-78985\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/06\/Class-Diagram-of-String-Tokenizer-in-Java.jpg\" alt=\"Class Diagram of String Tokenizer in Java\" width=\"401\" height=\"451\" \/><\/a><\/p>\n<h3>Useful Methods of StringTokenizer class in Java<\/h3>\n<p>The StringTokenizer class contains a number of useful instance methods that we can use to isolate tokens.<\/p>\n<p>Let\u2019s start learning each method of the StringTokenizer class. To use these methods, we must obviously first create the object of the StringTokenizer class as shown below:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">StringTokenizer st = new StringTokenizer(String);<\/pre>\n<p>Here, the argument that we passed is a String that we need to tokenize.<\/p>\n<h4>1. int countTokens()<\/h4>\n<p>The countToken() method returns the number of tokens that are separated by any white space in the given string.<\/p>\n<p>Using this method we can know the number of tokens in the String, and we can, therefore, use this number of tokens as a loop parameter to process the whole string very easily.<\/p>\n<p>Let\u2019s discuss this method with an example:<\/p>\n<p><strong>Code to understand the countTokens() method of StringTokenizer class:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.techvidvan.stringtokenizer;\nimport java.util. * ;\nimport java.io. * ;\npublic class CountTokensMethod {\n  public static void main(String[] args) throws IOException {\n    String myString = \"This is TechVidvan Tutorial of Java\";\n    StringTokenizer st = new StringTokenizer(myString);\n    int numberOfTokens;\n    numberOfTokens = st.countTokens();\n    System.out.println(\"Input string is:\" + myString);\n    System.out.println(\"The number of tokens in the string is: \" + numberOfTokens);\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><br \/>\nInput string is: This is TechVidvan Tutorial of Java<br \/>\nThe number of tokens in the string is: 6<\/p>\n<h4>2. String nextToken()<\/h4>\n<p>The nextToken() method of the StringTokenizer class returns the next token in the form of String. When we use it for the first time, it returns the next token as the first token of the string.<\/p>\n<p><strong>Code to understand the nextToken() method of StringTokenizer class:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.techvidvan.stringtokenizer;\nimport java.util. * ;\nimport java.io. * ;\npublic class NextTokenMethod {\n  public static void main(String[] args) throws IOException {\n    String myString = \"This is TechVidvan Tutorial of Java\";\n    StringTokenizer st = new StringTokenizer(myString);\n    System.out.println(\"Input string is: \" + myString);\n    while (st.hasMoreTokens()) {\n      System.out.println(\"The Next token is: \" + st.nextToken());\n    }\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><br \/>\nInput string is: This is TechVidvan Tutorial of Java<br \/>\nThe Next token is: This<br \/>\nThe Next token is: is<br \/>\nThe Next token is: TechVidvan<br \/>\nThe Next token is: Tutorial<br \/>\nThe Next token is: of<br \/>\nThe Next token is: Java<\/p>\n<h4>3. String nextToken(String delimiter)<\/h4>\n<p>The nextToken(String delimiter) method is the same as the nextToken() method that we discussed above, the only difference is that it returns the next token on the basis of the delimiter that we provide as an argument to this method.<\/p>\n<p>We can use any delimiter such as a symbol or any number or any character.<\/p>\n<p><strong>Code to understand the nextToken(String delimiter) method of StringTokenizer class:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.techvidvan.stringtokenizer;\nimport java.util. * ;\nimport java.io. * ;\npublic class NextTokenMethod {\n  public static void main(String[] args) throws IOException {\n    String myString = \"This$is$TechVidvan$Tutorial$of Java\";\n    StringTokenizer st = new StringTokenizer(myString);\n    System.out.println(\"Input string is: \" + myString);\n    while (st.hasMoreTokens()) {\n      System.out.println(\"The Next token with $ delimiter is: \" + st.nextToken(\"$\"));\n    }\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><br \/>\nInput string is: This$is$TechVidvan$Tutorial$of Java<br \/>\nThe Next token with $ delimiter is: This<br \/>\nThe Next token with $ delimiter is: is<br \/>\nThe Next token with $ delimiter is: TechVidvan<br \/>\nThe Next token with $ delimiter is: Tutorial<br \/>\nThe Next token with $ delimiter is: of Java<\/p>\n<h4>4. boolean hasMoreTokens()<\/h4>\n<p>This method just checks whether there is any more token present in the String. It returns true if a token is available and false if no token is available.<\/p>\n<p>We can use it in the while loop to process the whole string until no more token is available.<\/p>\n<p><strong>Code to understand the hasMoreTokens() method of StringTokenizer class:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.techvidvan.stringtokenizer;\nimport java.util. * ;\nimport java.io. * ;\npublic class HasMoreTokensMethod {\n  public static void main(String[] args) throws IOException {\n    String myString = \"This is TechVidvan Tutorial of Java\";\n    StringTokenizer st = new StringTokenizer(myString);\n    System.out.println(\"Input string is: \" + myString);\n    int n = st.countTokens();\n    while (n != 0)\n    if (st.hasMoreTokens()) {\n      System.out.println(\"The token is present\");\n      n--;\n    }\n    System.out.println(\"There is no more token in the string\");\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><br \/>\nInput string is: This is TechVidvan Tutorial of Java<br \/>\nThe token is present<br \/>\nThe token is present<br \/>\nThe token is present<br \/>\nThe token is present<br \/>\nThe token is present<br \/>\nThe token is present<br \/>\nThere is no more tokens in the string<\/p>\n<h4>5. Object nextElement()<\/h4>\n<p>The nextElement() method is similar to the nextToken() method of the StringTokenizer class;<\/p>\n<p>the difference is that it returns the value in the form of Object unlike the nextToken() method that returns a String.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.techvidvan.stringtokenizer;\nimport java.util. * ;\nimport java.io. * ;\npublic class NextElementMethod {\n  public static void main(String[] args) throws IOException {\n    String myString = \"This is TechVidvan Tutorial of Java\";\n    StringTokenizer st = new StringTokenizer(myString);\n    System.out.println(\"Input string is: \" + myString);\n    \/\/moving to the next element\n    st.nextElement();\n    System.out.println(\"The next element is: \" + st.nextElement());\n    System.out.println(\"The next element is: \" + st.nextElement());\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><br \/>\nInput string is: This is TechVidvan Tutorial of Java<br \/>\nThe next element is: is<br \/>\nThe next element is: TechVidvan<\/p>\n<h3>Java StringTokenizer Example<\/h3>\n<p>Now, as you are familiar with all the constructors and methods of StringTokenizer class, let&#8217;s see an example to work with all of them together in this following example.<\/p>\n<p><strong>Code to understand constructors and methods of StringTokenizer class:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">package com.techvidvan.stringtokenizer;\nimport java.util. * ;\nimport java.io. * ;\npublic class StringBufferMethod {\n  public static void main(String[] args) throws IOException {\n    String myString = \"Welcome to StringTokenizer Tutorial, article on StringTokenizer class\";\n    StringTokenizer st = new StringTokenizer(myString);\n    int numberOfTokens;\n    numberOfTokens = st.countTokens();\n    System.out.println(\"The number of tokens in this string is: \" + numberOfTokens);\n    System.out.println(\u201cPrinting all the token with Default constructor: \u201d);\n    while (st.hasMoreTokens()) {\n      System.out.println(\u201cThe next token is\u201d + st.nextToken());\n    }\n    StringTokenizer st1 = new StringTokenizer(myString, \u201c, \u201d);\n    System.out.println(\u201cPrinting all the token with delimiter\u201c, \u201d: \u201d);\n    while (st1.hasMoreTokens()) {\n      System.out.println(st1.nextToken());\n    }\n    StringTokenizer st2 = new StringTokenizer(myString, \u201c, \u201d, true);\n    System.out.println(\u201cPrinting all the token with delimiter\u201c, \u201dand also printing delimiter: \u201d);\n    while (st2.hasMoreTokens()) {\n      System.out.println(st2.nextToken());\n    }\n  }\n}<\/pre>\n<p><strong>Output:<\/strong><br \/>\nThe number of tokens in this string is: 8<br \/>\nPrinting all the token with Default constructor:<br \/>\nThe next token is Welcome<br \/>\nThe next token is to<br \/>\nThe next token is StringTokenizer<br \/>\nThe next token is Tutorial,<br \/>\nThe next token is article<br \/>\nThe next token is on<br \/>\nThe next token is StringTokenizer<br \/>\nThe next token is class<br \/>\nPrinting all the token with delimiter , :<br \/>\nWelcome to StringTokenizer Tutorial<br \/>\narticle on StringTokenizer class<br \/>\nPrinting all the token with delimiter , and also printing delimiter :<br \/>\nWelcome to StringTokenizer Tutorial<br \/>\n,<br \/>\narticle on StringTokenizer class<\/p>\n<h3>Conclusion<\/h3>\n<p>We have reached the end of the article. We covered the concept of the String Tokenizer class in Java.<\/p>\n<p>It can be used when we want to work with the words of the String rather than the characters of the string. We learned the constructors and methods of this class with examples so that you can understand them easily.<\/p>\n<p>You can now tokenize your String or break your strings into tokens after going through this article.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have already worked with Strings in our article of Strings and in the most recent article of StringBuffer in Java. We always perform operations on Strings with the help of each character present&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":78983,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[183],"tags":[2777,2778,2779,2780],"class_list":["post-78938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","tag-java-string-tokenizer","tag-java-stringtokenizer","tag-string-tokenizer-in-java","tag-stringtokenizer-in-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java StringTokenizer Class with Example - TechVidvan<\/title>\n<meta name=\"description\" content=\"String Tokenizer in java - What is java stringtokenizer, StringTokenizer Constructors and examples in java, methods of StringTokenizer class in java\" \/>\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-stringtokenizer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java StringTokenizer Class with Example - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"String Tokenizer in java - What is java stringtokenizer, StringTokenizer Constructors and examples in java, methods of StringTokenizer class in java\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/\" \/>\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-06-03T04:30:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/String-Tokenizer-in-Java.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 StringTokenizer Class with Example - TechVidvan","description":"String Tokenizer in java - What is java stringtokenizer, StringTokenizer Constructors and examples in java, methods of StringTokenizer class in java","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-stringtokenizer\/","og_locale":"en_US","og_type":"article","og_title":"Java StringTokenizer Class with Example - TechVidvan","og_description":"String Tokenizer in java - What is java stringtokenizer, StringTokenizer Constructors and examples in java, methods of StringTokenizer class in java","og_url":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2020-06-03T04:30:23+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/String-Tokenizer-in-Java.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-stringtokenizer\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Java StringTokenizer Class with Example","datePublished":"2020-06-03T04:30:23+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/"},"wordCount":1200,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/String-Tokenizer-in-Java.jpg","keywords":["java String Tokenizer","Java StringTokenizer","String Tokenizer in Java","StringTokenizer in Java"],"articleSection":["Java Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/","url":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/","name":"Java StringTokenizer Class with Example - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/String-Tokenizer-in-Java.jpg","datePublished":"2020-06-03T04:30:23+00:00","description":"String Tokenizer in java - What is java stringtokenizer, StringTokenizer Constructors and examples in java, methods of StringTokenizer class in java","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/String-Tokenizer-in-Java.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2020\/05\/String-Tokenizer-in-Java.jpg","width":802,"height":420,"caption":"String Tokenizer in Java"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/java-stringtokenizer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Java StringTokenizer Class with Example"}]},{"@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\/78938","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=78938"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/78938\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/78983"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=78938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=78938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=78938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}