{"id":9981,"date":"2019-09-04T18:52:28","date_gmt":"2019-09-04T18:52:28","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=9981"},"modified":"2019-09-04T19:01:23","modified_gmt":"2019-09-04T19:01:23","slug":"java-4-5-6-7-8","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=9981","title":{"rendered":"JavaSE 4, &#8230;, 9 Features"},"content":{"rendered":"<p><a href=\"https:\/\/www.javatpoint.com\/java-tutorial\">javaTpoint Java Tutorial<\/a><\/p>\n<h1>JavaSE 4, &#8230;, 9 Features<\/h1>\n<h3>Java 9 Features<\/h3>\n<p>Interface Private Methods<br \/>\nTry-With Resources<br \/>\nAnonymous Classes<br \/>\nSafeVarargs Annotation<br \/>\nCollection Factory Methods<br \/>\nProcess API Improvement<br \/>\nVersion-String Scheme<br \/>\nJShell (REPL)<br \/>\nModule System<br \/>\nControl Panel<br \/>\nStream API Improvement<br \/>\nUnderscore Keyword<\/p>\n<h3>Java 8 Features<\/h3>\n<p>Lambda Expressions<br \/>\nMethod References<br \/>\nFunctional Interfaces<br \/>\nStream API<br \/>\nStream Filter<br \/>\nBase64 Encode Decode<br \/>\nDefault Methods<br \/>\nforEach() method<br \/>\nCollectors class<br \/>\nStringJoiner class<br \/>\nOptional class<br \/>\nJavaScript Nashorn<br \/>\nParallel Array Sort<br \/>\nType Inference<br \/>\nParameter Reflection<br \/>\nType Annotations<br \/>\nJDBC Improvements<\/p>\n<h3>Java 7 Features<\/h3>\n<p>Binary Literals<br \/>\nSwitch with String<br \/>\nMulti Catch<br \/>\nTry with Resources<br \/>\nType Inference<br \/>\nNumeric Literals<br \/>\nJDBC<\/p>\n<h3>Java 4\/5 Features<\/h3>\n<p>Assertion<br \/>\nFor-each Loop<br \/>\nVarargs<br \/>\nStatic Import<br \/>\nAutoboxing<br \/>\nEnums<br \/>\nAnnotations<br \/>\nGenerics<\/p>\n<h1>JavaSE 4, &#8230;, 8 Features<\/h1>\n<h3>JavaSE 8 Features<\/h3>\n<p>Java 8 Date\/Time API (Java 8)<br \/>\nLambda Expressions (Java 8)<br \/>\nMethod References (Java 8)<br \/>\nFunctional Interfaces (Java 8)<br \/>\nStream (Java 8)<br \/>\nBase64 Encode Decode (Java 8)<br \/>\nDefault Methods (Java 8)<br \/>\nforEach method(Java 8)<br \/>\nCollectors(Java 8)<br \/>\nStringJoiner(Java 8)<br \/>\nOptional class (Java 8)<br \/>\nNashorn JavaScript (Java 8)<br \/>\nParallel Array Sorting (Java 8)<br \/>\nType Inference (Java 8)<br \/>\nMethod Parameter Reflection (Java 8)<br \/>\nType annotations and repeating annotations (Java 8)<br \/>\nJava JDBC Improvements (Java 8)<br \/>\nJava IO Improvement (Java 8)<br \/>\nJava Concurrency Improvement (Java 8)<\/p>\n<h3>JavaSE 7 Features<\/h3>\n<p>String in switch statement (Java 7)<br \/>\nBinary Literals (Java 7)<br \/>\nThe try-with-resources (Java 7)<br \/>\nCaching Multiple Exceptions by single catch (Java 7)<br \/>\nUnderscores in Numeric Literals (Java 7)<\/p>\n<h3>JavaSE 6 Features<\/h3>\n<p>Instrumentation (premain method) (Java 6)<\/p>\n<h3>J2SE 5 Features<\/h3>\n<p>For-each loop (Java 5)<br \/>\nVarargs (Java 5)<br \/>\nStatic Import (Java 5)<br \/>\nAutoboxing and Unboxing (Java 5)<br \/>\nEnum (Java 5)<br \/>\nCovariant Return Type (Java 5)<br \/>\nAnnotation (Java 5)<br \/>\nGenerics (Java 5)<\/p>\n<h3>J2SE 4 Features<\/h3>\n<p>Assertion (Java 4)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>javaTpoint Java Tutorial JavaSE 4, &#8230;, 9 Features Java 9 Features Interface Private Methods Try-With Resources Anonymous Classes SafeVarargs Annotation Collection Factory Methods Process API Improvement Version-String Scheme JShell (REPL) Module System Control Panel Stream API Improvement Underscore Keyword Java 8 Features Lambda Expressions Method References Functional Interfaces Stream API Stream Filter Base64 Encode Decode [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9981","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/9981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9981"}],"version-history":[{"count":4,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/9981\/revisions"}],"predecessor-version":[{"id":9985,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/9981\/revisions\/9985"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}