Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is Nashorn?
Think about it as a bridge between Java and JavaScript.
How do you create a Java object in JavaScript using Nashorn?
Recall the syntax we discussed in class.
What is the primary function of the Nashorn engine?
Focus on the primary purpose of Nashorn.
True or False: Nashorn supports calling Java methods from JavaScript.
Consider the integration capabilities of Nashorn.
Create a Nashorn script that dynamically creates and manages a directory with multiple text files, implementing functionality to list the files in the directory.
Consider how to check for a directory's existence and create files within it.
Build a Nashorn script that accepts user input to create a customized greeting. It should leverage Java's Scanner class, and take the user's name as input.
Look to import necessary Java classes for input handling.
6 more questions in this section. Enroll free to practise them all.
Enroll free