Which code segment should you insert at line 05?

You are creating a custom object as described by the following code. Line numbers are included for reference only.

You need to implement the perimeter method.
Which code segment should you insert at line 05?
A. function perimeter 0 {return 4 * side;}
B. function perimeter 0 {return 4 * this.side;}
C. function perimeter 0 {return A * me.side;}
D. function perimeter (obj) {return 4 *obj.side;}

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.