Thread Concurrency using ExecutorService in Java 8 1200x630

Thread Concurrency using ExecutorService in Java 8

Programming multi threading and concurrency has been in Java for a while. Concurrency utility package java.util.concurrent (introduced Java 5) made…

2 comments
Interface Default Method in Java8

Interface Default Method in Java 8

Default method in interface As you know that an Interface in java can have only Abstract methods and a class,…

1 comment
Optional in Java 8 to avoid NullPointer

Optional in Java 8 to avoid NullPointer

“A Java developer who has not met NullPointerException” is a myth. NullPointerException is king of exceptions in Java. People call…

3 comments
How to join strings in Java8

How to Join strings – Java8

As a programmer quite often we hit the need to join multiple string values separated by a delimiter. For example…

add comment
Lambda Expression vs anynymous inner class Java8

Lambda Expression v/s Anonymous Inner Class – Java 8

Lambda Expression is new feature of Java 8. Before Java 8 Anonymous Inner Class was very useful to write method…

add comment
Lambda Expression Basics Java8

Lambda Expression Basics and Syntax – Java8

In simple term, a Lambda Expression is implementation of a Functional Interface. Lambda Expression is a way to provide implementation…

add comment
Functional Interface Java8 1200x630

Functional Interface – Java8

Before Java 8, an interface could only declare one or more methods also known as Abstract Method (method with no…

add comment