As Carles Gasques said the answer is yes. When Java automatically converts a primitive type like int into corresponding wrapper class object e.g. Integer then its called autoboxing. All primitive types e.g. byte, short, char, int, long, float, double and boolean has corresponding wrapper class e.g. Byte, Short, Integer, Character etc and participate in autoboxing.Since whole process happens automatically without writing any code for conversion its called autoboxing.Compiler uses valueOf() method to convert primitive to Object and uses intValue(), doubleValue() etc to get primitive value from Object.
subject: Wrapper class doubt. Can we assign a short variable to Short?