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) {
        Long lObj1 = new Long("100");
        System.out.println(lObj1);

        String str = "100";
        Long lObj2 = Long.valueOf(str);
        System.out.println(lObj2);
    }
}