while
whilesimpleexample
while
/** * */ /** * @author ranadheer * */ public class whileexample { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int n=0; int i=3; while(i<4){ n++; i++; System.out.println( "n numbers" + n++); System.out.println("i numbers" + i++); } } output program n numbers1 i numbers4
Please send comments to
vgdarur.javafive@blogger.com
Copyright © 2008 - iForeRunner.com
http://www.iforerunner.com/