About Question enthuware.ocajp.i.v7.2 . 1281 :
Posted: Sat Mar 14, 2015 5:28 pm
There is a typo! The right answer is E! Because: break without a label, can occur only in a switch, while, do, or for statement.
What about for each/enhanced for loop ? Enhanced for loop doesn't equal to for loop ! The difinition of enhanced loop has been introduced since java 5 only.
What about for each/enhanced for loop ? Enhanced for loop doesn't equal to for loop ! The difinition of enhanced loop has been introduced since java 5 only.