Java Tutorial JDK8 Early Access Updates

An updated Java Tutorial was released today to coincide with the release of JDK 7u51. In addition to the changes for the 7u51 release, this update includes the following changes to JDK 8 early access documentation:

  • The Type Inference section in the Generics trail has been updated with the section Target Types, which describes how the Java compiler takes advantage of target typing to infer the type parameters of a generic method invocation in JDK 8.

  • The names of the formal parameters of any method or constructor in JDK 8 can be obtained with the method java.lang.reflect.Executable.getParameters. See the section Obtaining Names of Method Parameters.

  • The Interfaces and Inheritance trail has been enhanced with information about Default Methods in JDK 8, which are methods in an interface that have an implementation. In addition, you can define static methods in interfaces.

  • The Collections trail has been updated with new Questions and Exercises for Interfaces and Aggregate Operations in JDK 8. These updates help you focus on some important points when working with lambda expressions, streams, and aggregate operations.

For more information on JDK 8 Early Access documentation, see JDK 8 Documentation - Developer Preview Release.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Blog about Java technology documentation and news about Java releases.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today