answer: BCF
A. not right
it is possible just without initialization like this int[][][] e = new int[1][3][];
B. correct
short sh = 'A' without casting works as well
Unicode value for 'A' is 65. So by a narrowing primitive conversion (§5.2) it doesn't require a casting operator.
D. not right
the byte is converted to an int via widening primitive conversion (§5.1.2), and then the resulting int is converted to a char by narrowing primitive conversion (§5.1.3).
E. not right
'#' can not be used as a variable name
F. correct
In Java 7 and above the underscore can be used in numeric literals
G. not rigth
true, false, and null are not keywords, but they are literals and reserved words that cannot be used as identifiers.
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
2 months, 2 weeks agoASPushkin
4 days, 20 hours ago[Removed]
1 year, 3 months agoStavok
1 year, 6 months agobharathdave
1 year, 7 months agoAnkit1010
1 year, 10 months ago