Advanced
Java
Q86 / 100
What does the invokedynamic bytecode instruction enable?
Correct! Well done.
Incorrect.
The correct answer is B) Dynamic method dispatch for languages on the JVM, underpinning Java lambdas and method handles
B
Correct Answer
Dynamic method dispatch for languages on the JVM, underpinning Java lambdas and method handles
Explanation
Introduced in Java 7, invokedynamic defers method linkage to a bootstrap method at runtime. Java 8 lambdas are desugared to invokedynamic calls, enabling efficient functional constructs.
Progress
86/100