Question: Same example method: public static void showSum ( double num 1 , double num 2 ) Would the following call work? showSum ( 1 0
Same example method:
public static void showSumdouble num double num
Would the following call work?
showSum;
Group of answer choices
Yes it would work because will Java will automatically convert the ints to doubles
No it would not work
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
