Monthly Archive: February 2015

0

Java 8: New Features

Default Methods or Extension Methods for Interfaces Java 8 allows us to add non-abstract method implementation to interfaces by utilizing the default keyword. Here is our first example:

Besides abstract calculateSqrt method, there is one...