Solved

Consider the GetArea Method from the Textbook Shown Below

Question 2

Multiple Choice

Consider the getArea method from the textbook shown below. Consider the getArea method from the textbook shown below.   What will be the result?  A) The method will return incorrect results for triangles with width equal to 0. B) The method will return incorrect results for triangles with width equal to 1. C) The method will return area to be one too high for all triangles. D) The method will still return correct results for all non-negative width triangles. What will be the result?


A) The method will return incorrect results for triangles with width equal to 0.
B) The method will return incorrect results for triangles with width equal to 1.
C) The method will return area to be one too high for all triangles.
D) The method will still return correct results for all non-negative width triangles.

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents