MCQOPTIONS
Saved Bookmarks
| 1. |
If A is the superclass and B is the subclass, then subclass inheriting the superclass can be represented as _________ |
| A. | B=inherit(A); |
| B. | B=A.inherit(); |
| C. | B.prototype=inherit(A); |
| D. | B.prototype=inherit(A.prototype); |
| Answer» D. B.prototype=inherit(A.prototype); | |