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  
tarasen57 tarasen57
wrote...
Posts: 536
4 years ago
Suppose a method p has the following heading:

public static int[][] p()

What return statement may be used in p()?

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

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

▸ return 1;

▸ return {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 66 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
1

Related Topics

tarasen57 Author
wrote...

4 years ago
Thanks for your help!!
wrote...

Yesterday
this is exactly what I needed
wrote...

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