Case-Based Critical Thinking Questions
?
Case 13-5
?
Steve has created a custom object. He wants to use a template for all the properties and methods
associated with the object's class.
To add a method to a prototype, Steve should apply the _____ command.
A. objName.prototype.function = method;
B. objName.prototype.method = function;
C. objClass.prototype.method = function;
D. objInstance.prototype.method = function;
Answer: B
Computer Science & Information Technology
You might also like to view...
All versions of Ethernet use either a hub or a switch.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
__________ is defined as unsolicited messages that are usually sent in massive numbers using electronic mail systems.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
CSS stands for _____________________________.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Since a heap is a complete binary tree, what would be an efficient basis for its implementation?
a. pointer based b. array based c. a bag d. a set-based
Computer Science & Information Technology