Given the code fragment:
Which code fragment, when inserted at line 7, enables printing 100?
Function funRef = e –> e + 10;Integer result = funRef.apply(value);
IntFunction funRef = e –> e + 10;Integer result = funRef.apply (10);
ToIntFunction funRef = e –> e + 10;int result = funRef.applyAsInt (value);
ToIntFunction funRef = e –> e + 10;int result = funRef.apply (value);
Submit