Java 8 is one of the major releases from Java with features like Streams, Lambdas etc. A lot of companies
StringJoiner is a new class in Java 8 that can be used to create a String. It can construct a
The type of a lambda expression depends on the context it is being used. A lambda is like a method
The target type of a lambda expression represents a type to which the expression can be converted. The target type
An interface with a default method appears same as an Abstract class in Java. But there are subtle differences between
Some of the popular annotations introduced in Java 8 are: @FunctionalInterface: This annotation is used to mark an interface as
In Java 8 we can use Clock class to get the current time. Instead of using old method System.currentTimeMillis(), we
Yes, from Java 8, an Interface can also has a static method.
Java 8 comes with a new command line tool jdeps that can help in analyzing the package-level and class-level dependencies.
In Java 8, PermGen space of ClassLoader is removed. It has been replaced with MetaSpace. Now we can set the