{"id":1174,"date":"2024-09-12T17:42:01","date_gmt":"2024-09-12T12:12:01","guid":{"rendered":"https:\/\/isdtp.selvamtech.edu.in\/?p=1174"},"modified":"2025-07-23T16:59:26","modified_gmt":"2025-07-23T11:29:26","slug":"java-data-types","status":"publish","type":"post","link":"https:\/\/isdtp.selvamtech.edu.in\/?p=1174","title":{"rendered":"Java &#8211; Data Types"},"content":{"rendered":"<h5><span style=\"font-family: arial, helvetica, sans-serif;\">Data Types<\/span><\/h5>\n<p style=\"text-align: justify;\"><span style=\"font-family: arial, helvetica, sans-serif;\">In Java, data types define the type and size of data that can be stored in variables. They are divided into two categories: primitive and reference types. Primitive data types include int, float, double, char, boolean, byte, short, and long, each designed to hold simple values like numbers, characters, and true\/false states. Reference types, on the other hand, refer to objects and include classes, arrays, and interfaces. Understanding data types is crucial for efficient memory management and ensuring the correct operations on data in Java programs.<\/span><\/p>\n<div class=\"wp-block-pdfemb-pdf-embedder-viewer\"><a href=\"https:\/\/isdtp.selvamtech.edu.in\/wp-content\/uploads\/2024\/09\/3.Data-Types.docx.pdf\" class=\"pdfemb-viewer\" style=\"\" data-width=\"max\" data-height=\"max\" data-toolbar=\"top\" data-toolbar-fixed=\"on\">3.Data Types.docx<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Data Types In Java, data types define the type and size of data that can be stored in variables. They are divided into two categories:<span class=\"more-button\"><a href=\"https:\/\/isdtp.selvamtech.edu.in\/?p=1174\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">Java &#8211; Data Types<\/span><\/a><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[26,5],"tags":[],"class_list":["post-1174","post","type-post","status-publish","format-standard","hentry","category-java-programming","category-technical-programming"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1174"}],"version-history":[{"count":2,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1174\/revisions"}],"predecessor-version":[{"id":2871,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=\/wp\/v2\/posts\/1174\/revisions\/2871"}],"wp:attachment":[{"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/isdtp.selvamtech.edu.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}