Question: PLEASE HELP ME FIX THIS MISTAKE IN JAVA CIS 176: Java Programming I home >3.5: Return (EO) zyBooks catalog ? CHALLENGE ACTIVITY 3.5.2: Method call

 PLEASE HELP ME FIX THIS MISTAKE IN JAVA CIS 176: Java

PLEASE HELP ME FIX THIS MISTAKE IN JAVA

CIS 176: Java Programming I home >3.5: Return (EO) zyBooks catalog ? CHALLENGE ACTIVITY 3.5.2: Method call in expression. Assign to maxSum the max of (numA, numB) PLUS the max of (numY, numZ). Use just one statement. Hint: Call findMax0 twice in an expression. Failed to compile SumofMax.java:28: error: non-static method findMax (double, double) cannot be referenced from a static context maxSum = findMax (numA, numB) +findMax (numY, numZ); SumofMax.java:28: error: non-static method findMax (double, double) cannot be referenced from a static context maxSum = findMax (num, numB) +findMax (numY, numZ); 2 errors View your last submission

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!