Determine the result

Report a typo

You have the following part of code:

IntUnaryOperator next = x -> x + 1;
IntUnaryOperator square = x -> x * x;

IntUnaryOperator combinedOperator = next.compose(square);
int result = combinedOperator.applyAsInt(5);

The result is ...

Select one option from the list
___

Create a free account to access the full topic