xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

JDK 12 & JAVA

JDK 12 & JAVA

js style

https://github.com/winterbe
https://winterbe.com/posts/2018/09/24/java-11-tutorial/

// Prior to Java 10 you would declare variables like this:

String text = "Hello Java 9";

// Now you can replace String with var. 
// The compiler infers the correct type from the assignment of the variable. 
// In this case text is of type String:

var text = "Hello Java 10";



https://openjdk.java.net/projects/jdk/12/

https://openjdk.java.net/projects/jdk/11/

https://openjdk.java.net/projects/jdk/10/

posted @ 2019-03-22 10:43  xgqfrms  阅读(255)  评论(4编辑  收藏  举报