Java 8、9、10、11 新特性

Java 8

1.Lambdas表达式与Functional接口
2.接口的默认与静态方法
3.新增方法的调用方式类似php
3.try catch resource
5.优化了HashMap以及ConcurrentHashMap

 

详细网址:http://www.importnew.com/11908.html

 
Java 9

1.HTTP/2

详细网址:http://www.importnew.com/24528.html

 
Java 10

1.局部变量类型判断

2.GC的优化以及内存管理

详细网址:https://www.oschina.net/news/94402/java-10-released-mar-21?nocache=1521601201815(详细) , https://blog.csdn.net/bf02jgtrs00xktcx/article/details/79579857

 
Java 11

详细网址: https://www.infoq.cn/article/2018/09/java11-new-feature?utm_campaign=rightbar_v2&utm_source=infoq&utm_medium=news_link&utm_content=link_text

猜你喜欢

转载自www.cnblogs.com/libra-yjs/p/10823288.html