Home / Programming MCQs / JAVA MCQs / Question

Q. What will happen when the class below is complied?~~~public class Example~~~{~~~//char a = 'u000A';~~~}

(A) Will complete successfully.
(B) Will compile successfully but with a warning message.
(C) Will not compile - complains on an invalid expression.
(D) Will show a warning message.

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.