Which code should you use?

You are creating a custom object as described by the following code.

You need to implement the calcArea method.
Which code should you use?

You are creating a custom object as described by the following code.

You need to implement the calcArea method.
Which code should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
Need to refer to .this in the calculation.



Leave a Reply 0

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