Top Posters
Since Sunday
z
4
n
4
t
4
k
3
x
3
r
3
m
3
j
3
c
3
l
3
e
3
s
2
New Topic  
fattykay92 fattykay92
wrote...
Posts: 467
4 years ago
Consider the following recursive method.

public static int m(int value) {
if (value >= 0)
return 5 * m(value - 2);
else
return 1;
}

What value is returned when invoking m(5)?

▸ 75

▸ 125

▸ 100

▸ 25

▸ 225
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 46 times
1 Reply
Replies
Answer verified by a subject expert
meigsflameigsfla
wrote...
Posts: 387
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

fattykay92 Author
wrote...

4 years ago
You make an excellent tutor!
wrote...

Yesterday
This site is awesome
wrote...

2 hours ago
Correct Slight Smile TY
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  709 People Browsing
Related Images
  
 284
  
 288
  
 4498
Your Opinion
Which of the following is the best resource to supplement your studies:
Votes: 365

Previous poll results: Where do you get your textbooks?