public class ShortCalculator { public short sum(short x, short y){ return (short)(x+y); } public short diff(short x, short y){ return (short)(x-y); } public short multiply(short x, short y){ return (short)(x*y); } public short divide(short x, short y){ return (short)(x/y); } public short remainder(short x, short y){ return (short)(x % y); } }