1.

What is the purpose of the method ActiveXObject()?(a) Used to call automation object(b) Used to reference automation object(c) Used to instantiate automation object(d) Used to call & reference automation objectThe question was posed to me in an international level competition.I would like to ask this question from Parsing Values using JavaScript in portion Parsing, Benchmarking and Logging of JavaScript

Answer»

The correct answer is (c) Used to INSTANTIATE AUTOMATION object

To explain I WOULD SAY: The ActiveXObject.prototype object allows adding properties and methods to the ActiveXObject object that can be used with instances of the ActiveXObject object like any predefined PROPERTY or method. The ActiveXObject() object is used only to instantiate Automation objects, and has no members.



Discussion

No Comment Found

Related InterviewSolutions