Top Posters
Since Sunday
k
4
c
4
M
3
t
3
i
3
B
3
k
3
m
3
c
3
o
3
l
3
r
3
New Topic  
banggedung banggedung
wrote...
Posts: 450
Rep: 4 0
4 years ago
Does the return statement in the following method cause compile errors?

public static void main(String[] args) {
int max = 0;
if (max != 0)
System.out.println(max);
else
return;
}


▸ Yes

▸ No
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 44 times
1 Reply
Replies
Answer verified by a subject expert
Antoinette12Antoinette12
wrote...
Posts: 386
4 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here

Related Topics

banggedung Author
wrote...

4 years ago
Thanks
wrote...

Yesterday
Correct Slight Smile TY
wrote...

2 hours ago
Brilliant
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  840 People Browsing
Related Images
  
 393
  
 284
  
 2009
Your Opinion
Which is the best fuel for late night cramming?
Votes: 146

Previous poll results: Who's your favorite biologist?