Hexaware Technologies interview question

write a code in java ?any code using break and continue