Question: CHALLENGE ACTIVITY 3 . 5 . 2 : Method call in expression. Assign to maxSum the max of ( numA , numB ) PLUS the
CHALLENGE
ACTIVITY
: Method call in expression.
Assign to maxSum the max of numA numB PLUS the max of numY numZ Use just one statement. Hint Call find Max twice in an expression.
Learn how our autograder works
public static void mainString args
double numA ;
double numB ;
double num ;
double numZ ;
double maxSum ;
Use object maxFinder to call the method
SumOfMax maxFinder new SumOfMax ;
V Your solution goes here
System, out.print maxSum is: maxSum;
Feedback?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
