Boolean
Boolean Demo
Boolean in Java
public class BooleanIf { /** * @param args */ public static void main(String [] args) { String money = args[0]; boolean isMoneySuffiecient = false; if(true) System.out.println("IAM HERE 1111111111111111111"); if(true) { System.out.println("IAM HERE 2222222222222222222"); System.out.println("ABD"); } if("1000".equals(money)) { isMoneySuffiecient = true; } if( isMoneySuffiecient) { System.out.println("I Can buy Apple Mac with this money"); } } }
Please send comments to
vgdarur.javafive@blogger.com
Copyright © 2008 - iForeRunner.com
http://www.iforerunner.com/