Solved

Given the Following Method Header, Which of These Method Calls

Question 49

Multiple Choice

Given the following method header, which of these method calls is incorrect? public void displayValue(double x, int y) ;


A) displayValue(a, b) ; // where a is a long and b is a byte
B) displayValue(a, b) ; // where a is an int and b is a byte
C) displayValue(a, b) ; // where a is a short and b is a long
D) All of these would give an error.

Correct Answer:

verifed

Verified

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

Related Questions