Solved

What Will Be Returned from the Following Method? Public Static

Question 13

Multiple Choice

What will be returned from the following method? public static int methodA()
{
Double a = 8.5 + 9.5;
Return a;
}


A) 18.0
B) 18 (as an integer)
C) 8.0
D) This is an error

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions