Given the following method header, which of these method calls is incorrect?
```
public void displayValue(int x, int y);
```
a. displayValue(a, b); // where a is a short 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.
c. displayValue(a, b); // where a is a short and b is a long
Computer Science & Information Technology
You might also like to view...
How would you check a data model for redundancy? Give an example to illustrate your answer.
What will be an ideal response?
Computer Science & Information Technology
A virus is defined as a small program written to alter the way a computer operates, without the permission or knowledge of the user.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology