java8

ZonedDateTime format example in Java 8

ZonedDateTime format example in Java 8 ZonedDateTime class in Java 8 is an immutable representation of a date-time with a time-zone. It is equivalent of [...]

Optional class in Java 8 with example

Optional Class in Java 8An often annoying problem that most Java developers face in their code is the NullPointerException. This exception is thrown [...]

Introduction to method references in Java 8 with examples

Introduction to method references in Java 8 Method references help to refer to methods by their names. Method references can be used as an argument for a [...]

Introduction to Java 8 Streams with example

Java 8 Streams - An Introduction Stream (not to be confused with InputStream/OutputStream. Both are completely different) is an abstract layer introduced in [...]