Constructor reference in Java

I have introduced the method reference in the previous tutorial, in this tutorial, I introduce you another new concept: constructor reference. Like the method reference, the constructor reference is used to abbreviate the Lambda Expression expression. How is it in details? Suppose you are working… Read More

Method reference in Java

Method reference is a new Java concept from version 8. It comes with Lambda Expression, which makes code writing using Lambda Expression even short but still shorter in some cases. In this tutorial, let’s learn more about the method reference in Java! OK, let’s get… Read More

Functional Interface in Java

In the Lambda Expression tutorials, I introduced you to the Functional Interface and its importance when using Lambda Expression in Java code. In this tutorial, I will talk more about Functional Interface! Definition of Functional Interface OK, let me first talk about the definition of… Read More

Generics in Java

Generics are a function of Java that allows programmers to specify the type of data they want to work with in a class, interface, or method. In this tutorial, let’s learn more about generics in Java. Why need generics? Before generics is introduced, we only… Read More