1.

What is the substitute of Rhino javascript engine in Java 8?(a) Nashorn(b) V8(c) Inscript(d) NarcissusI have been asked this question in quiz.My query is from Java 8 Features in chapter Autoboxing & Miscellaneous of Java

Answer»

Correct choice is (a) Nashorn

Best explanation: Nashorn provides 2 to 10 TIMES FASTER in terms of performance, as it directly COMPILES the code in memory and passes the bytecode to JVM. Nashorn USES invoke dynamic feature.



Discussion

No Comment Found

Related InterviewSolutions