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/
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10576770.html
未经授权禁止转载,违者必究!