1 /* For Copyright (C) 1998-1999 Jochen Hoenicke.2 *3 * This program is free software; you can redistribute it and/or modify4 * it under the terms of the GNU General Public License as published by5 * the Free Software Foundation; either version 2, or (at your option)6 * any later version.7 *8 * This program is distributed in the hope that it will be useful,9 * but WITHOUT ANY WARRANTY; without even the implied warranty of10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11 * GNU General Public License for more details.12 *13 * You should have received a copy of the GNU General Public License14 * along with this program; see the file COPYING. If not, write to15 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.16 *17 * $Id: For.java,v 1.3 1999/08/19 15:16:59 jochen Exp $18 */19 20 21 public class For {22 23 boolean nested() {24 outer:25 for (int i=0; i< 100; i++) {26 for (int j=0; j< 100; j++) {27 if (i < j)28 continue outer;29 }30 return false;31 }32 return true;33 }34 35 }36
Java API By Example, From Geeks To Geeks. | Our Blog | Conditions of Use | About Us_ |