Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Juan Cornelio Guzman

Greenhorn
+ Follow
since Feb 02, 2016
Juan Cornelio likes ...
Android Eclipse IDE Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Juan Cornelio Guzman

Welcome to the ranch Allen & Chris! I like the subtitle of the book - How to Think Like a Computer Scientist. Pretty cool! B-)
4 years ago
As quoted by William E. Wheeler, "A very practical guide to one of the most difficult aspects of software development."
I need this book
I am currently preparing for OCAJP8.
Might consider this once done passing the OCA exam.
Nice features!

What is the output of the following code snippet?
3: int count = 0;
4: ROW_LOOP: for(int row = 1; row <=3; row++)
5: for(int col = 1; col <=2 ; col++) {
6: if(row * col % 2 == 0) continue ROW_LOOP;
7: count++;
8: }
9: System.out.println(count);
A. 1
B. 2
C. 3
D. 4
E. 6
F. The code will not compile because of line 6.



The answer is B. But on the Appendix A, the answer is A.