{"id":130341,"date":"2019-04-24T01:12:00","date_gmt":"2019-04-23T17:12:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=4d9ae932c921cfc748aecadbcdfcdced"},"modified":"2019-04-24T01:12:00","modified_gmt":"2019-04-23T17:12:00","slug":"java-101-elementary-java-language-features-3","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/04\/24\/java-101-elementary-java-language-features-3\/","title":{"rendered":"Java 101: Elementary Java language features"},"content":{"rendered":"<article>\n<section class=\"page\">\n<p>Java 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<p><strong>Note<\/strong>: Examples in this tutorial have been updated for JDK 12. I&#8217;ll briefly discuss the new 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>Java 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<p><strong>Note<\/strong>: Examples in this tutorial have been updated for JDK 12. I&#8217;ll briefly discuss the new 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<\/section>\n<\/article>\n<p> <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/04\/24\/java-101-elementary-java-language-features-3\/\">\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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[451,2,7],"tags":[398,402,397,414,413,410,409,407,408,406,399,400,394,318,558,560,555,561,566,553,554,586,585,563,562,183,567,524,10,401,396,403,412,411,395,405,404,457,454,319,316],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7prtj-xUh","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/130341"}],"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=130341"}],"version-history":[{"count":1,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/130341\/revisions"}],"predecessor-version":[{"id":130342,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/130341\/revisions\/130342"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=130341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=130341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=130341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}