we can only place the labels just before loop
The outer label should appear just before the loop begins. It does not matter if it is on the same line or not. From K&B book
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch Getting someone to think and try something out is much more useful than just telling them the answer.