Solved

Which of the Following Commands Is Used to Add a Method

Question 34

Multiple Choice

Which of the following commands is used to add a method to a prototype .


A) objName.prototype.function = method;
B) objName.prototype.method = function;
C) objClass.prototype.method = function;
D) objInstance.prototype.function = method;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions