when 34 is passed ,then it will be converted into the Integer Object and passed to the constructor.So, when this code "u.byteValue()" ,which is in the display() method should be compiled properly,but it is throwing the error(because here 'u' is treated as a object)
error ----- Compiling 1 source file to C:\deploy\pbnm\class\build\classes C:\deploy\pbnm\class\src\GenericClassNine.java:20: cannot find symbol symbol : method byteValue() location: class java.lang.Object System.out.println(u.byteValue()); 1 error BUILD FAILED (total time: 0 seconds)