Top Posters
Since Sunday
5
k
4
c
4
M
3
t
3
i
3
B
3
k
3
m
3
c
3
o
3
l
3
New Topic  
zar zar
wrote...
Posts: 458
Rep: 1 0
4 years ago
Suppose a method p has the following heading:

public static int[] p()

What return statement may be used in p()?

▸ return {1, 2, 3};

▸ return 1;

▸ return int[]{1, 2, 3};

▸ return new int[]{1, 2, 3};
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


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

zar Author
wrote...

4 years ago
this is exactly what I needed
wrote...

Yesterday
Thanks
wrote...

2 hours ago
Good timing, thanks!
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  919 People Browsing
Related Images
  
 268
  
 385
  
 115
Your Opinion
Which of the following is the best resource to supplement your studies:
Votes: 292