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 s = 10;

        Short sObj1 = new Short(s);
        Short sObj2 = new Short("10");

        System.out.println(sObj1);
        System.out.println(sObj2);
    }
}