Solved

Consider the Method Signature in the Following Code Snippet: Public

Question 79

Multiple Choice

Consider the method signature in the following code snippet: public static double getTriangleArea (double heightLen, double baseLen)
Which of the following would be a valid postcondition for this method?


A) Postcondition: getTriangleArea() >= 0
B) Postcondition: getTriangleArea() > 0
C) Postcondition: getTriangleArea() <= baseLen
D) There are no valid postcoditions that could be specified for this method

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions