In python we can assign a lambda expression to a variable directly. If we have to do this in Java this variable has to be of the type Functional Interface since functions are not first class citizens in Java.
Is it allowed in Python sine functions are first class citizens in Python ?
Yeast devil! Back to the oven that baked you! And take this tiny ad too: