Question: CHALLENGE ACTIVITY 3 . 5 . 2 : Method call in expression. Assign to maxSum the max of ( numA , numB ) PLUS the

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 find Max 0 twice in an expression.
Learn how our autograder works
public static void main(String args){
double numA =5.0;
double numB =10.0;
double num Y=3.0;
double numZ =7.0;
double maxSum =0.0;
// Use object maxFinder to call the method
SumOfMax maxFinder = new SumOfMax ();
V* Your solution goes here */
System, out.print ("maxSum is: "+ maxSum);
}
Feedback?
 CHALLENGE ACTIVITY 3.5.2: Method call in expression. Assign to maxSum the

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!