Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void staticMethod() {
        Integer intObj1 = Integer.valueOf(100);
        Integer intObj2 = Integer.valueOf("2014");
        Double doubleObj1 = Double.valueOf(10.45);
        Double doubleObj2 = Double.valueOf("234.56");
        Character charObj1 = Character.valueOf('A');
    }
}