-
New language features since Java 8 to 16java 2021. 4. 14. 13:15728x90반응형
시간되면 읽어봐야 할 것.
Enhancements to the Java language you should know
Last updated on 2021/03/30 to include changes up to JDK 16.
This article is also available in Chinese by Alex Tan.
When Java 8 introduced Streams and Lambdas it was a big change, enabling functional programming style to be expressed with much less boilerplate. While recent versions did not add such impactful features, lots of smaller improvements were made to the language.
Language enhancements after Java 8
Java 16
Java 15
Java 14
Java 11
Java 9
- Allow private methods in interfaces
- Diamond operator for anonymous inner classes
- Allow effectively-final variables to be used as resources in try-with-resources statements
- Underscore is no longer a valid identifier name
- Improved Warnings
What’s next: Preview features in Java 16
728x90반응형'java' 카테고리의 다른 글
[Java] 자바 아스키코드및 유니코드로 문자 변환 (0) 2021.04.20 A categorized list of all Java and JVM features since JDK 8 to 16 (0) 2021.04.14 PDFBox - extract text content from pdf using java (0) 2021.04.01 자바 8 교육자료 (0) 2021.04.01 Visual Studio Codeの使い方 (0) 2021.03.31