Which interface definition allows this code to compile
int length = 5;
Square square = x -> x*x;
int a = square.calculate(length);
Which interface definition allows this code to compile
int length = 5;
Square square = x -> x*x;
int a = square.calculate(length);