Hi Tom, Here is the error from command prompt
C:\harikrishna>javac P247_AutoBox01_Ask.java
P247_AutoBox01_Ask.java:7: incompatible types
found : short
required: java.lang.Integer
Integer I7 = (short) 7;
^
P247_AutoBox01_Ask.java:8: incompatible types
found : byte
required: java.lang.Integer
I7 = (byte) 1;
^
2 errors
Tom Reilly wrote:What error? Which line of code?