{"id":25524409,"date":"2022-05-16T16:12:36","date_gmt":"2022-05-16T10:42:36","guid":{"rendered":"https:\/\/entri.app\/blog\/?p=25524409"},"modified":"2022-11-20T08:08:07","modified_gmt":"2022-11-20T02:38:07","slug":"everything-you-should-know-about-java-data-types","status":"publish","type":"post","link":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/","title":{"rendered":"Everything You Should Know About Java Data Types"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e5fe5660082\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e5fe5660082\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#Primitive_Data_Types\" >Primitive Data Types<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#Non-Primitive_Datatypes\" >Non-Primitive Datatypes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#Difference_between_primitive_and_non-primitive_data_types\" >Difference between primitive and non-primitive data types<\/a><\/li><\/ul><\/nav><\/div>\n<p>A\u00a0data type\u00a0is an attribute of a variable that tells the compiler or interpreter how the programmer intends to use the variable. It defines the operations that can be done on the data and what type of values can be storedAccording to the properties they possess, data types are divided into two groups:<\/p>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/bit.ly\/3ELmCiA\" target=\"_blank\" rel=\"noopener\">Learn Coding in your Language! Enroll Here!<\/a><\/strong><\/p>\n<ul>\n<li><strong>Primitive Data Types<\/strong><\/li>\n<li><strong>Non-Primitive Data Types<\/strong><\/li>\n<\/ul>\n<p><strong>Primitive Data Types:<\/strong>\u00a0A primitive data type is pre-defined by the programming language. The size and type of variable values are specified, and it has no additional methods.<\/p>\n<p><strong>Non-Primitive Data Types:<\/strong>\u00a0These data types are not actually defined by the programming language but are created by the programmer. They are also called \u201creference variables\u201d or \u201cobject references\u201d since they reference a memory location that stores the data.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Primitive_Data_Types\"><\/span><strong>Primitive Data Types<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Data types in Java are classified into 4 aspects as<strong>\u00a0int, float, character,<\/strong>\u00a0and\u00a0<strong>boolean<\/strong>. But, in general, there are 8 data types. They are as follows:<\/p>\n<ul>\n<li><strong>Boolean<\/strong>data type<\/li>\n<li><strong>byte<\/strong>data type<\/li>\n<li><strong>char\u00a0<\/strong>data type<\/li>\n<li><strong>short<\/strong>data type<\/li>\n<li><strong>int<\/strong>data type<\/li>\n<li><strong>long<\/strong>data type<\/li>\n<li><strong>float<\/strong>data type<\/li>\n<li><strong>double<\/strong>data type<\/li>\n<\/ul>\n<h3><strong>Boolean data type<\/strong><\/h3>\n<p>A boolean data type comprises of a bit of information and can store only\u00a0<strong>true<\/strong>\u00a0or\u00a0<strong>false<\/strong>\u00a0values. This data type is used to track\u00a0<strong>true\/false<\/strong>\u00a0<strong>conditions<\/strong>. Now let\u2019s write a small program and understand how it works.<\/p>\n<p><strong>class<\/strong> booleanDataType{<br \/>\n<strong>public<\/strong> <strong>static<\/strong> <strong>void<\/strong> main(String args[]){<br \/>\n\/\/ Setting the values for boolean data type<br \/>\n<strong>boolean<\/strong> Java = <strong>true<\/strong>;<br \/>\n<strong>boolean<\/strong> Python = <strong>false<\/strong>;<br \/>\nSystem.out.println(Java);\u00a0\u00a0 \/\/ Output will be true<br \/>\nSystem.out.println(Python);\u00a0 \/\/ Output will be false<br \/>\n}<br \/>\n}<\/p>\n<h3><strong>byte data type<\/strong><\/h3>\n<p>This is an example of a primitive data type. It is an 8-bit signed two\u2019s complement integer. It stores whole numbers that lie between -128 to 127. A byte data type is helpful for saving memory in large amounts. Now let\u2019s write a small program and understand how it works.<\/p>\n<p><strong>class<\/strong> ByteExample {<br \/>\n<strong>public<\/strong> <strong>static<\/strong> <strong>void<\/strong> main(String[] args) {<br \/>\n<strong>byte<\/strong> n, a;<br \/>\nn = 127;<br \/>\na=177;<br \/>\nSystem.out.println(n); \/\/ prints 127<br \/>\nSystem.out.println(a); \/\/ throws an error because it cannot store more than 127 bits<br \/>\n}<br \/>\n}<\/p>\n<h3><strong>char data type<\/strong><\/h3>\n<p>This data type is used to store a\u00a0<strong>single<\/strong>\u00a0character. The character must be enclosed within single quotes, like \u2018E\u2019 or \u2018e\u2019. Alternatively, you can also use ASCII values to display certain characters. Let\u2019s take a small example and see how it works.<\/p>\n<p>char alpha = &#8216;J&#8217;; char a = 65, b = 66, c = 67; System.out.println(alpha); \/\/ prints J System.out.println(a); \/\/ Displays 65 System.out.println(b); \/\/ Displays 66 System.out.println(c); \/\/ Displays 67<\/p>\n<h3><strong>short data type<\/strong><\/h3>\n<p>A short data type is greater than byte in terms of size and less than a integer. It stores the value that ranges from -32,768 to 32767. The default size of this data type: 2 bytes. Let\u2019s take an example and understand the short data type.<\/p>\n<p><strong>class<\/strong> ShortExample {<br \/>\n<strong>public<\/strong> <strong>static<\/strong> <strong>void<\/strong> main(String[] args) {<br \/>\n<strong>short<\/strong> n= 3435,<br \/>\nSystem.out.println(n); \/\/ prints the value present in n i.e. 3435<br \/>\n}<br \/>\n}<\/p>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/bit.ly\/3ELmCiA\" target=\"_blank\" rel=\"noopener\">Learn Coding in your Language! Enroll Here!<\/a><\/strong><\/p>\n<h3><strong>int data type<\/strong><\/h3>\n<p>This data type can store whole numbers from -2147483648 to 2147483647. Generally, int is the preferred data type when you create\u00a0variables\u00a0with a numeric value.<\/p>\n<p><strong>For example:<\/strong><\/p>\n<p>int num = 5464564;<br \/>\nSystem.out.println(num); \/\/ prints 5464564<\/p>\n<h3><strong>long data type<\/strong><\/h3>\n<p>This data type is a 64-bit two\u2019s complement integer. By default, the size of a long data type is 64 bit and its value ranges from -2 63to 2 63\u20131.<\/p>\n<p><strong>For example:<\/strong><\/p>\n<p>long num = 15000000000L;<br \/>\nSystem.out.println(num); \/\/ prints 15000000000<\/p>\n<h3><strong>Floating Datatypes<\/strong><\/h3>\n<p>You should use a floating point type whenever you need a number with a decimal, such as 8.88 or 3.14515.<\/p>\n<h3><strong>float data type<\/strong><\/h3>\n<p>This data type can store fractional numbers from 3.4e\u2212038 to 3.4e+038. Note that you should end the value with an \u201cf\u201d. Let\u2019s take a small example and understand this data type in a detailed manner.<\/p>\n<p>float num =67;<br \/>\nSystem.out.println(num); \/\/ prints the floating number value<\/p>\n<p>The double data type can store fractional numbers from 1.7e\u2212308 to 1.7e+308. Note that you should end the value with a \u201cd\u201d:<\/p>\n<p>double num = 79.678d;<br \/>\nSystem.out.println(num); \/\/ prints double value<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/bit.ly\/3ELmCiA\" target=\"_blank\" rel=\"noopener\"><strong>Learn to code from industry experts! Enroll here<\/strong><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Non-Primitive_Datatypes\"><\/span><strong>Non-Primitive Datatypes<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Non-Primitive data types refer to objects and hence they are called\u00a0<strong>reference types.\u00a0<\/strong>Examples of non-primitive types include Strings, Arrays, Classes, Interface, etc.<\/p>\n<h3><strong>Strings<\/strong><\/h3>\n<p>It is a sequence of characters. But in Java, a string is an object that represents a sequence of characters. The\u00a0<strong>Strings:<\/strong> String\u00a0java.lang.String\u00a0class is used to create a string object.<\/p>\n<h3><strong>Arrays<\/strong><\/h3>\n<p>Arrays in Java are homogeneous data structures implemented in Java as objects. Arrays store one or more values of a specific data type and provide indexed access to store the same. A specific element in an array is accessed by its index.<\/p>\n<h3><strong>Classes<\/strong><\/h3>\n<p>class in Java is a blueprint which includes all your data. A class contains fields(variables) and methods to describe the behavior of an object.<\/p>\n<h3><strong>Interface<\/strong><\/h3>\n<p>Like a class, an\u00a0interface\u00a0can have methods and variables, but the methods declared are by default abstract (only method signature, no body).<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Difference_between_primitive_and_non-primitive_data_types\"><\/span><strong>Difference between primitive and non-primitive data types<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The difference between\u00a0<strong>primitive and<\/strong>\u00a0<strong>non-primitive<\/strong>\u00a0data types are as follows:<\/p>\n<ul>\n<li>Primitive types are predefined in Java. Non-primitive types are created by the programmer and is not defined by Java.<\/li>\n<li>Non Primitive types can be used to call methods to perform certain operations, while primitive types cannot.<\/li>\n<li>A primitive type always has a value, whereas non-primitive types can be null.<\/li>\n<li>A primitive type starts with a lowercase letter, while non-primitive types start with an uppercase letter.<\/li>\n<li>The size of a primitive type depends on the data type, while non-primitive types have all the same size.<\/li>\n<\/ul>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/bit.ly\/3ELmCiA\" target=\"_blank\" rel=\"noopener\">Learn Coding in your Language! Enroll Here!<\/a><\/strong><\/p>\n<p><strong>Why is it important to choose Entri?<\/strong><\/p>\n<ul>\n<li>Excellent online platform for all the Competitive Exams.<\/li>\n<li>Provides updated materials created by the Entri Experts.<\/li>\n<li>Entri provides a best platform with full- length mock tests including previous year question papers.<\/li>\n<li>You can download the app for free and join the required classes.<\/li>\n<li>Entri wishes you all the best for your examinations and future endeavours.<\/li>\n<\/ul>\n<p><strong>\u201cYOU DON\u2019T HAVE TO BE GREAT TO START, BUT YOU HAVE TO START TO BE GREAT.\u201d<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A\u00a0data type\u00a0is an attribute of a variable that tells the compiler or interpreter how the programmer intends to use the variable. It defines the operations that can be done on the data and what type of values can be storedAccording to the properties they possess, data types are divided into two groups: Learn Coding in [&hellip;]<\/p>\n","protected":false},"author":55,"featured_media":25524411,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[802,1882],"tags":[],"class_list":["post-25524409","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-java-programming"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Everything You Should Know About Java Data Types - Entri Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Everything You Should Know About Java Data Types - Entri Blog\" \/>\n<meta property=\"og:description\" content=\"A\u00a0data type\u00a0is an attribute of a variable that tells the compiler or interpreter how the programmer intends to use the variable. It defines the operations that can be done on the data and what type of values can be storedAccording to the properties they possess, data types are divided into two groups: Learn Coding in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/\" \/>\n<meta property=\"og:site_name\" content=\"Entri Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/entri.me\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-16T10:42:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-20T02:38:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png\" \/>\n\t<meta property=\"og:image:width\" content=\"820\" \/>\n\t<meta property=\"og:image:height\" content=\"615\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ayesha Surayya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@entri_app\" \/>\n<meta name=\"twitter:site\" content=\"@entri_app\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ayesha Surayya\" \/>\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:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/\"},\"author\":{\"name\":\"Ayesha Surayya\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097\"},\"headline\":\"Everything You Should Know About Java Data Types\",\"datePublished\":\"2022-05-16T10:42:36+00:00\",\"dateModified\":\"2022-11-20T02:38:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/\"},\"wordCount\":1034,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png\",\"articleSection\":[\"Articles\",\"Java Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/\",\"url\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/\",\"name\":\"Everything You Should Know About Java Data Types - Entri Blog\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png\",\"datePublished\":\"2022-05-16T10:42:36+00:00\",\"dateModified\":\"2022-11-20T02:38:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png\",\"width\":820,\"height\":615,\"caption\":\"Everything You Should Know About Java Data Types\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entri.app\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Entri Skilling\",\"item\":\"https:\/\/entri.app\/blog\/category\/entri-skilling\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Java Programming\",\"item\":\"https:\/\/entri.app\/blog\/category\/entri-skilling\/java-programming\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Everything You Should Know About Java Data Types\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entri.app\/blog\/#website\",\"url\":\"https:\/\/entri.app\/blog\/\",\"name\":\"Entri Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entri.app\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/entri.app\/blog\/#organization\",\"name\":\"Entri App\",\"url\":\"https:\/\/entri.app\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"width\":989,\"height\":446,\"caption\":\"Entri App\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/entri.me\/\",\"https:\/\/x.com\/entri_app\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097\",\"name\":\"Ayesha Surayya\",\"url\":\"https:\/\/entri.app\/blog\/author\/ayesha-surayya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Everything You Should Know About Java Data Types - Entri Blog","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:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/","og_locale":"en_US","og_type":"article","og_title":"Everything You Should Know About Java Data Types - Entri Blog","og_description":"A\u00a0data type\u00a0is an attribute of a variable that tells the compiler or interpreter how the programmer intends to use the variable. It defines the operations that can be done on the data and what type of values can be storedAccording to the properties they possess, data types are divided into two groups: Learn Coding in [&hellip;]","og_url":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/","og_site_name":"Entri Blog","article_publisher":"https:\/\/www.facebook.com\/entri.me\/","article_published_time":"2022-05-16T10:42:36+00:00","article_modified_time":"2022-11-20T02:38:07+00:00","og_image":[{"width":820,"height":615,"url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png","type":"image\/png"}],"author":"Ayesha Surayya","twitter_card":"summary_large_image","twitter_creator":"@entri_app","twitter_site":"@entri_app","twitter_misc":{"Written by":"Ayesha Surayya","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#article","isPartOf":{"@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/"},"author":{"name":"Ayesha Surayya","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097"},"headline":"Everything You Should Know About Java Data Types","datePublished":"2022-05-16T10:42:36+00:00","dateModified":"2022-11-20T02:38:07+00:00","mainEntityOfPage":{"@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/"},"wordCount":1034,"commentCount":0,"publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"image":{"@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png","articleSection":["Articles","Java Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/","url":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/","name":"Everything You Should Know About Java Data Types - Entri Blog","isPartOf":{"@id":"https:\/\/entri.app\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage"},"image":{"@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png","datePublished":"2022-05-16T10:42:36+00:00","dateModified":"2022-11-20T02:38:07+00:00","breadcrumb":{"@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#primaryimage","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Everything-You-Should-Know-About-Java-Data-Types.png","width":820,"height":615,"caption":"Everything You Should Know About Java Data Types"},{"@type":"BreadcrumbList","@id":"https:\/\/entri.app\/blog\/everything-you-should-know-about-java-data-types\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entri.app\/blog\/"},{"@type":"ListItem","position":2,"name":"Entri Skilling","item":"https:\/\/entri.app\/blog\/category\/entri-skilling\/"},{"@type":"ListItem","position":3,"name":"Java Programming","item":"https:\/\/entri.app\/blog\/category\/entri-skilling\/java-programming\/"},{"@type":"ListItem","position":4,"name":"Everything You Should Know About Java Data Types"}]},{"@type":"WebSite","@id":"https:\/\/entri.app\/blog\/#website","url":"https:\/\/entri.app\/blog\/","name":"Entri Blog","description":"","publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entri.app\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/entri.app\/blog\/#organization","name":"Entri App","url":"https:\/\/entri.app\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","width":989,"height":446,"caption":"Entri App"},"image":{"@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/entri.me\/","https:\/\/x.com\/entri_app"]},{"@type":"Person","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/568cc9d6e77fd5d01033b61c88343097","name":"Ayesha Surayya","url":"https:\/\/entri.app\/blog\/author\/ayesha-surayya\/"}]}},"_links":{"self":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25524409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/comments?post=25524409"}],"version-history":[{"count":6,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25524409\/revisions"}],"predecessor-version":[{"id":25547525,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25524409\/revisions\/25547525"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media\/25524411"}],"wp:attachment":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media?parent=25524409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/categories?post=25524409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/tags?post=25524409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}