Question: The main method contains the statement int num = someMethod ( 1 2 , 1 4 ) ; . What is the result after this
The main method contains the statement int num someMethod ; What is the result after this statement is executed?
public static double someMethodint int b
i
return ;
Select one:
a num being assigned the value
b num being assigned the value
c num being assigned the value
d error: missing return statement
e error: possible loss of precision
Clear my choice
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
