Posts related to tag: Functional Interface


Runnable vs. Callable Interface in Java

In Java, both Runnable and Callable are interfaces used to define tasks that can be executed by threads or executors. […] Continue reading »

Functional Interface in Java 8

Java 8 introduced a significant enhancement known as lambda expressions, which allowed for more concise and expressive code. Alongside lambda […] Continue reading »

Spring Boot CommandLineRunner Interface Example

Spring Boot’s CommandLineRunner interface, allows developers to execute code when the Spring Boot application starts. In this blog, we’ll explore […] Continue reading »