Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String args[]) {
        Boolean b1 = new Boolean("TRUE");
        Boolean b2 = new Boolean("FALSE");
        System.out.println(b1.toString() + " or " + b2.toString());
        for (int j = 0; j < 16; ++j)
            System.out.print(Character.forDigit(j, 16));

        Integer i = new Integer(Integer.parseInt("ef", 16));
        Long l = new Long(Long.parseLong("abcd", 16));
        long m = l.longValue() * i.longValue();
        System.out.println(Long.toString(m, 8));

    }
}