MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

public class MainClass {

    public static void main(String[] args) {
        Boolean b1 = new Boolean(false);
        Boolean b2 = new Boolean("true");

        System.out.println(b1.booleanValue());
        System.out.println(b2.booleanValue());
    }

}