Short integer variable y is short y; (or intshort y; )
Long shaping variable z, long z; (or int long z;; )
Unsigned shaping w unsigned w;
Pay attention to their scope, don't let the data overflow, don't waste too much. Short integers are rarely used.
If it is a local variable of java language, remember to give it an initial value, otherwise it doesn't matter if it can't be used. C.