Statement: The material used in this column is written by the VIP students of the Kay Academy, who has the right to be anonymous and has the final right to interpret the article; The Edith Academy is designed to promote students to learn from each other on the basis of public notes.
Java 1.8 Features:
Idea:
: https://www.jetbrains.com/idea/
The installation process, for example, how many bits of a computer are loaded:
Introducing JDK
The name of the project and the path of the project storage
Set Code font Size
Jdk1.8 Effects:
A long integer can be assigned in this way
Interface can also write implementation method, it can not only apply for a static method, but also can apply for an instance method, but only the default, is the new effect of java1.8
Lambda expression
Shorthand for nameless classes
Write a nameless class to the Hello interface implementation, all know that you are new is Hello, but also to rewrite the Method2 method
New writing you do not need new, do not rewrite the method, directly write a (), which has been implemented, but there can only be one method in the interface
You can also write this
Concise notation, how to pass values, such as:
You can also do an addition operation in a simple way.
Java 1.8 Features