MCQOPTIONS
Saved Bookmarks
| 1. |
_If A is the superclass and B is the subclass, then subclass inherting 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); | |