import java.io.DataInputStream;
import java.io.FileInputStream;
publicclass Main {
publicstaticvoid main(String[] args) throws Exception {
FileInputStream fin = new FileInputStream("C:/Short.txt");
DataInputStream din = new DataInputStream(fin);
short s = din.readShort();
System.out.println("short : " + s);
din.close();
}
}