Question: If a method is written to receive an int parameter, and you pass a double to the method, then the method will _ _ _
If a method is written to receive an int parameter, and you pass a double to the method, then the method will
a work correctly; the double will be promoted to an int
b work correctly, but the double might lose some data
c execute but issue a warning
d not work; an error message will be issued
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
