Sunday, February 22, 2009

source code to show the boolean literals



// source code to show the boolean literals
package literals;

public class BooleanLiteral {


public static void main(String[] args) {
//boolean valid literals are true or flase only
boolean b1=true;
boolean b2=false; // not initilize by default it is false


}

}


0 comments:

Post a Comment