• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Head first Java Exercise page 118

 
Paulius Kukulskis
Greenhorn
Posts: 10
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there. Since I am a complete novice I would like that somebody could help me out to understand what does the answer tip of this exercise mean? English is not my native and this might be a problem. In the attached picture there is a task and solution with the mystirious tip. The task was to choose the right output the class is producing. "Did you remember to factor in the break statement? How did that affect the output?". WHAT??

I mean does it say if I remembered to take into consideration the break statement?
Pict2.png
[Thumbnail for Pict2.png]
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean does it say if I remembered to take into consideration the break statement?

Yes, because the output is different if you omit the break.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic