2-13 TrueFalse

posted Jan 23, 2014, 5:50 AM by Dlovan ismail   [ updated Jan 23, 2014, 5:50 AM by Karwan Jacksi ]
// A program for demonstrating boolean variables.

package truefalse;

public class TrueFalse 
{
    public static void main(String[] args)
    {
           boolean bool;
           
           bool = true;
           System.out.println(bool);
           bool = false;
           System.out.println(bool);
    } 
}

ċ
TrueFalse.java
(0k)
Karwan Jacksi,
Jan 23, 2014, 5:50 AM
Comments