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) {
        Short sObj1 = new Short("100");
        System.out.println(sObj1);
        String str = "100";
        Short sObj2 = Short.valueOf(str);
        System.out.println(sObj2);
    }
}