MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

public class MainClass {
    public static void main(String[] args) {
        short s = -1800;
        Short s2 = new Short(s);
        System.out.println(s2.shortValue());
    }
}