Solved

Given the Following Method Header, Which of These Method Calls

Question 23

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents