Java Reference
In-Depth Information
3 . Given
to what if does the last else associate?
The last else associates with if(y > 100) .
4 . Show the for statement for a loop that counts from 1000 to 0 by -2.
5 . Is the following fragment valid?
No; i is not known outside of the for loop in which it is declared.
6 . Explain what break does. Be sure to explain both of its forms.
Search WWH ::




Custom Search