Which of the following classes can be used to convert the new Java arrays to JavaScript programmes?
A. javA.Array is an example of a class that may be used in a Java
B. java.lang.* is a class in the Java programming language.
C. java.lang.Array is a class in the Java programming language that represents a collection of objects.
D. java.lang.reflect.Array
Answer:D
Which of the following classes can be used to convert the new Java arrays to JavaScript programmes?
A. javA.Array is an example of a class that may be used in a Java B. java.lang.* is a class in the Java programming language. C. java.lang.Array is a class in the Java programming language that represents a collection of objects. D. java.lang.reflect.Array
Explanation: You must use the java.lang.reflect.Array class because there is no natural JavaScript syntax that Rhino can enhance to allow JavaScript programmes to generate new Java arrays.