Top Posters
Since Sunday
6
o
5
5
b
4
s
3
j
3
b
3
m
3
K
3
g
3
L
3
w
3
New Topic  
applesauce234 applesauce234
wrote...
Posts: 343
5 years ago
Assume that the following method header is for a method in class A.

public void displayValue(int value)

Assume that the following code segments appear in another method, also in class A. Which contains a legal call to the displayValue method?
A) int x = 7;
void displayValue(x);
B) int x = 7;
displayValue(x);
C) int x = 7;
displayValue(int x);
D) int x = 7;
displayValue(x)
Textbook 
Starting Out with Java: From Control Structures through Objects

Starting Out with Java: From Control Structures through Objects


Edition: 6th
Author:
Read 68 times
2 Replies
Replies
Answer verified by a subject expert
shangshangshangshang
wrote...
Posts: 110
5 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

applesauce234 Author
wrote...
5 years ago
Electric Light Bulb Correct, thanks!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1116 People Browsing
Related Images
  
 359
  
 250
  
 712
Your Opinion
How often do you eat-out per week?
Votes: 80