What should statement1, statement2, and statement3, be respectively, in order to produce the result?

Given: What should statement1, statement2, and statement3, be respectively, in order to
produce the result? Shape: constructor Square: foo Shape: foo

Given: What should statement1, statement2, and statement3, be respectively, in order to
produce the result? Shape: constructor Square: foo Shape: foo

A.
Option D

B.
Option E

C.
Option A

D.
Option B

E.
Option C



Leave a Reply 3

Your email address will not be published. Required fields are marked *


ben

ben

Sorry, i think the correct answer should be A – option D. why is it D – option B ?

pojo

pojo

you ‘re right. “A. Option D is correct”.
Option B returns the output:
Shape constructor
square constructor
shape foo
square foo