We can create lambda functions like this:
Function<Integer, String> getLambda = (a) -> new String("given value is "a);
I have a scenario where I need to take 2 values in a parameter. How can I accomplish that using Function?
Example:
getLamda(10,20); // I know this line will give error. How can I acheive this?