package javaapplication1;
public class JavaApplication1 {
public static void main(String[] args) {
Short sObj = new Short("100");
byte b = sObj.byteValue();
System.out.println(b);
int i = sObj.intValue();
System.out.println(i);
float f = sObj.floatValue();
System.out.println(f);
double d = sObj.doubleValue();
System.out.println(d);
long l = sObj.longValue();
System.out.println(l);
}
}
/*
run:
100
100
100.0
100.0
100
*/