{"id":162272,"date":"2019-04-24T01:12:00","date_gmt":"2019-04-23T17:12:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=09c94ddd508e5e49840a17dbe8b4bba5"},"modified":"2019-04-24T01:12:00","modified_gmt":"2019-04-23T17:12:00","slug":"elementary-java-language-features","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/04\/24\/elementary-java-language-features\/","title":{"rendered":"Elementary Java language features"},"content":{"rendered":"<article>\n<section class=\"page\">\n<p>\nJava is an object-oriented programming language, but there&#8217;s more to Java than programming with objects. This tutorial is the first of several introducing non-object-oriented features and syntax that are fundamental to the Java language. You&#8217;ll learn how to use comments, identifiers, types, literals, and variables in your Java programs. You&#8217;ll also learn why and how to document your code, and you&#8217;ll see how Java&#8217;s support for Unicode affects source code and compilation.<\/p>\n<aside class=\"sidebar\">\n<h3>Modules and var in Java 12<\/h3>\n<p>\nNote that examples in this tutorial have been updated for Java 12, including the Java module feature (<code>module-info.java<\/code>) and its 10 restricted keywords. I&#8217;ll also show you how to use <code>var<\/code> to declare local variables. See the\u00a0<a href=\"https:\/\/docs.oracle.com\/javase\/specs\/jls\/se12\/html\/index.html\" rel=\"nofollow noopener\" >Java Language Specification: Java SE 12 Edition<\/a> for more about Java 12.<\/p>\n<p class=\"jumpTag\"><a href=\"https:\/\/www.javaworld.com\/article\/2925720\/elementary-java-language-features.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<article>\n<section>\n<p>\nJava is an object-oriented programming language, but there&#8217;s more to Java than programming with objects. This tutorial is the first of several introducing non-object-oriented features and syntax that are fundamental to the Java language. You&#8217;ll learn how to use comments, identifiers, types, literals, and variables in your Java programs. You&#8217;ll also learn why and how to document your code, and you&#8217;ll see how Java&#8217;s support for Unicode affects source code and compilation.<\/p>\n<aside>\n<h3>Modules and var in Java 12<\/h3>\n<p>\nNote that examples in this tutorial have been updated for Java 12, including the Java module feature (<code>module-info.java<\/code>) and its 10 restricted keywords. I&#8217;ll also show you how to use <code>var<\/code> to declare local variables. See the&nbsp;<a href=\"https:\/\/docs.oracle.com\/javase\/specs\/jls\/se12\/html\/index.html\" rel=\"nofollow noopener\" target=\"_blank\">Java Language Specification: Java SE 12 Edition<\/a> for more about Java 12.<\/p>\n<p><a href=\"https:\/\/www.javaworld.com\/article\/2925720\/elementary-java-language-features.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/aside>\n<\/section>\n<\/article>\n<p> <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/04\/24\/elementary-java-language-features\/\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":123,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"slim_seo":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[12,2,315,240],"tags":[398,402,397,414,413,528,410,409,407,408,406,399,400,394,318,526,375,523,183,184,529,524,232,10,401,396,381,403,412,411,395,405,404,525,457,530,363,384,321,320,319,316,26,527,317],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7prtj-Gdi","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/162272"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/users\/123"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/comments?post=162272"}],"version-history":[{"count":1,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/162272\/revisions"}],"predecessor-version":[{"id":173824,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/162272\/revisions\/173824"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=162272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=162272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=162272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}