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

  • (A) java.Array
  • (B) java.lang.*
  • (C) java.lang.Array
  • (D) java.lang.reflect.Array
πŸ’¬ Discuss
βœ… 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.
Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
207
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate