(Choose all that apply.)
Short s1 = (Short) 300; short s2 = (Short) 300; short s3 = (short) 300; short s4 = 300;
short s2 = (Short) 300;
short s3 = (short) 300;
short s4 = 300;
C is correct as an explicit short is applied.
D is correct as an implicit short is applied.
A and B are incorrect because you cannot use wrapper classes for explicit casts in this manner.
My OCA Mock
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.