java for each

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…

Arrays Enhanced for loop

As the new Java versions are released, the coding becomes easier and Java becomes more robust language to practice, For example JDK 1.5 introduced a new for loop with which iteration of elements of arrays and data structures becomes easier. Start reading this tutorial on "Arrays Enhanced for loop". Java…