Which of the following is not a legal identifier?
Select the one correct answer.
a2z
ödipus
52pickup
_class
ca$h
total#
Which statement is true?
new and delete are keywords in the Java language.
try, catch, and thrown are keywords in the Java language.
static, unsigned, and long are keywords in the Java language.
exit, class, and while are keywords in the Java language.
return, goto, and default are keywords in the Java language.
for, while, and next are keywords in the Java language.
Is this a complete and legal comment?
/* // */
No, the block comment (/* ... */) is not ended since the single-line comment (// ...) comments out the closing part.
It is a completely valid comment. The // part is ignored by the compiler.
This combination of comments is illegal and the compiler will reject it.