If a method is written to receive a double parameter, and you pass an integer to the
Question:
If a method is written to receive a double parameter, and you pass an integer to the method, then the method will _____________.
a. Work correctly; the integer will be promoted to a double
b. Work correctly; the parameter type will automatically become an integer
c. Execute, but any output will be incorrect
d. Not work; an error message will be issued
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: