πŸ“Š JavaScript
Q. Which class provides an interface for invoking JavaScript methods and examining JavaScript properties?
  • (A) ScriptObject
  • (B) JSObject
  • (C) JavaObject
  • (D) Jobject
πŸ’¬ Discuss
βœ… Correct Answer: (B) JSObject

Explanation: 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.

Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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