AC failed
incompatible types
B. correct
Integer autoboxing in int
int widenning casting to double
D failed
incompatible types: Integer cannot be converted to String
E correct
the Double.valueOf() method takes an Integer argument and returns a Double object. In statement E, the Integer object i is unboxed to an int primitive and then widened to a double primitive.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ASPushkin
6 months, 4 weeks agomendjijet
12 months agotmuralimanohar
1 year, 7 months agoStavok
1 year, 8 months agoStavok
1 year, 6 months agoJtic
1 year, 11 months ago