public class BooleanExample
{
public static void main(String args[])
{
// BooleanExample
boolean value = true;
System.out.println(value);
}
}
Output from BooleanExample.java:
true
--- Output Ends ---
NOTE:
You are reading previously generated output. You are not currently running
the BooleanExample application at the momement. You need to compile and run the
source code first.
To run this program:
javac BooleanExample.java
java BooleanExample
Authors: Kevin Chu and Eric Brower
Copyright 2000 Prentice Hall PTR