IDNLearn.com connects you with a community of experts ready to answer your questions. Get accurate and comprehensive answers from our network of experienced professionals.
public int mystery(double y) {
double result = 3 + y / 10;
if( result > 10 ) {
return result;
} else {
return 0;
}
}
Which of the following calls, when run from the same class, would return 0?
1. mystery (40.0)
2. mystery (40)
3 mystery(400.0)
Sagot :
We value your participation in this forum. Keep exploring, asking questions, and sharing your insights with the community. Together, we can find the best solutions. IDNLearn.com is committed to providing accurate answers. Thanks for stopping by, and see you next time for more solutions.