posted 12 years ago
short s1 = 6 ; //compile
Short s2 = 6; //compile
Short s = new Short(6); //error
error found int , required short
because of constructer required short parameter
why this is not compile
constructer => Short(short s3)
why short s3 does not take value of 6 in this case