Q. The new Java arrays can be created into a JavaScript programs using which of the following classes?
β
Correct Answer: (D)
java.lang.reflect.Array
Explanation: There is no natural JavaScript syntax that Rhino can extend to allow JavaScript programs to create new Java arrays, so you have to do that using the java.lang.reflect.Array class.