java lamda

JDK 1.8 Features

Following are JDK 1.8 Features Read one-by-one as they are very innteresting. 1. Method References a) With static method:

Arrays.sort(names, Test::matchStringLength); You can call the methods with their names (references) with :: operator. 2. Parallel Sort

Both sort() and parallelSort() sorts the array. The performance with parallelSort() can…