Examveda
Examveda

Which class provides an interface for invoking JavaScript methods and examining JavaScript properties?

A. ScriptObject

B. JSObject

C. JavaObject

D. Jobject

Answer: Option B

Solution(By Examveda Team)

When a JavaScript object is passed or returned to Java code, it is wrapped in an instance of JSObject. When a JSObject instance is passed to the JavaScript engine, it is unwrapped back to its original JavaScript object. The JSObject class provides a way to invoke JavaScript methods and examine JavaScript properties.

This Question Belongs to Javascript >> Caching And Debugging

Join The Discussion

Related Questions on Caching and Debugging