/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package breakloopclass; /** * * @author Student */ class Breakloop { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here int i = 0; do { System.out.println("I'm stuck!"); i++; if(i >100) break;} while (true); System.out.println(i);i++; } }