Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

The new Java arrays can be created into JavaScript programs using which of the following classes?

a) java.Array
b) java.lang.*
c) java.lang.Array
d) java.lang.reflect.Array

Answer: d
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.

Join The Discussion