Public static double secret(int first, double second) { double temp; if (second > first) temp = first * second; else temp = first – second; return temp; } Which



Public static double secret(int first, double second)
{
double temp;
if (second > first)
temp = first * second;
else
temp = first – second;
return temp;
}
Which of the following is NOT part of the heading of the method in the accompanying figure?
a. public
b. static
c. secret(int first, double second)
d. double temp;




Leave a Reply

Your email address will not be published.