New Features in JavaThere are many new features that have been added in java. There are major enhancement made in Java5, Java6, Java7 and Java8 like auto-boxing, generics, var-args, java annotations, enum, premain method , lambda expressions, functional interface, method references etc. Most of the interviewers ask questions from this chapter. JavaSE 8 FeaturesThe important features of JavaSE 8 are lambda expressions, methods references, default methods, functional interface, java 8 date/time, stream classes etc.
JavaSE 7 FeaturesThe important features of JavaSE 7 are try with resource, catching multiple exceptions etc.
JavaSE 6 FeaturesThe important feature of JavaSE 6 is premain method (also known as instrumentation).
J2SE 5 FeaturesThe important features of J2SE 5 are generics and assertions. Others are auto-boxing, enum, var-args, static import, for-each loop (enhanced for loop etc.
J2SE 4 FeaturesThe important feature of J2SE 4 is assertions. It is used for testing.
|
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/263789.html