November 30, 2018

Using lambda and Functional Programming to provide implementation for Callable interface – which prints a string n number of times in java

Callable is a Functional interface, it is similar in usage to Runnable interface. But with a small difference, that Callable can return a value, while Runnable can not return a value. In this tutorial, we will create a Callable which will return a String output. The string output is going to return String Value, which will be contain a given word  repeated n number of times. Given Values :- […]

Read more