Along with Java 8, a new improved engine Nashorn was introduced. Nashorn gives very high performance because it straightaway compiles the program code in the memory and then passes the bytecode to JVM. It uses the invoke dynamics feature of Java 7 to improve the performance.

BY Best Interview Question ON 06 Mar 2019