Which of the following commands is used to create a custom object using the new operator?
A. var objName = new Object();object.property = value;object.method = function() {commands};
B. var objName = value;object.Name = value;object.property = function() {commands};
C. var method = new Object();object.property = value;object.objName = function() {commands};
D. var objName = Object();object.Name = Object();object.method = function() {commands};
Answer: A
Computer Science & Information Technology
You might also like to view...
The word shown in bold is spelled correctly in the following sentence.Ali listened to the candidates' speechs.?
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
________ links are simply pointers to other files and aren't included in the link count.?
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology