{"id":104439,"date":"2014-06-06T02:39:00","date_gmt":"2014-06-05T18:39:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=2462600a200f55eea8097f1e796058cd"},"modified":"2014-06-06T02:39:00","modified_gmt":"2014-06-05T18:39:00","slug":"java-101-the-essential-java-language-features-tour-part-4-2","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2014\/06\/06\/java-101-the-essential-java-language-features-tour-part-4-2\/","title":{"rendered":"Java 101: The essential Java language features tour, Part 4"},"content":{"rendered":"<article>\n<section class=\"page\">\n<p>\nBefore JDK 7&#8217;s debut, Oracle invited the Java community to submit proposals for new language features to its <a href=\"http:\/\/openjdk.java.net\/projects\/coin\/\">Project Coin<\/a> mailing list. The open call ran for one month and nearly 70 proposal forms were submitted. Eight features were then selected for inclusion in JDK 7:<\/p>\n<ul>\n<li>Automatic resource management (try-with-resources)<\/li>\n<li>Switch-on-string<\/li>\n<li>Multi-catch<\/li>\n<li>Final re-throw<\/li>\n<li>Binary literals<\/li>\n<li>Underscores in numeric literals<\/li>\n<li>Type inference changes<\/li>\n<li>Simplified varargs method invocation<\/li>\n<\/ul>\n<p>\nThis installment in the <a href=\"http:\/\/www.javaworld.com\/blog\/java-101\/\"><strong>Essential Java language features tour<\/strong><\/a> addresses the first four small language features from that list &#8212; try-with-resources, switch-on-string, multi-catch, and final re-throw. I&#8217;ll address the remaining four features in a follow-up article.<\/p>\n<p class=\"jumpTag\"><a href=\"https:\/\/www.javaworld.com\/article\/2358607\/java-language-java-101-the-next-generation-the-essential-java-language-features-tour-part-4.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>Before JDK 7&#8217;s debut, Oracle invited the Java community to submit proposals for new language features to its Project Coin mailing list. The open call ran for one month and nearly 70 proposal forms were submitted. Eight features were then selected f&#8230; <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2014\/06\/06\/java-101-the-essential-java-language-features-tour-part-4-2\/\">\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":[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-rav","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/104439"}],"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=104439"}],"version-history":[{"count":1,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/104439\/revisions"}],"predecessor-version":[{"id":104440,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/104439\/revisions\/104440"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=104439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=104439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=104439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}