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.
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.