Top Posters
Since Sunday
j
4
m
4
4
4
n
3
m
3
R
3
V
3
e
3
w
3
j
3
a
3
New Topic  
caillacakes caillacakes
wrote...
Posts: 511
4 years ago
What is the printout of the following program?

public class Test {
public static void main(String[] args) {
int[][] values = {{3, 4, 5, 1}, {33, 6, 1, 2}};
int v = values[0][0];
for (int[] list : values)
for (int element : list)
if (v > element)
v = element;
System.out.print(v);
}
}


▸ 3

▸ 33

▸ 5

▸ 1

▸ 6
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


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

caillacakes Author
wrote...

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

Yesterday
Thanks
wrote...

2 hours ago
Brilliant
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  864 People Browsing
Related Images
  
 47
  
 2138
  
 305
Your Opinion
What's your favorite math subject?
Votes: 315