What is the output of this program?

class Literal21
{
public static void main(String[] args)
{
char c=\u0041;
System.out.println(c);
}
}
/*
Output:- CE[cannot find symbol]
Explanation:- UNICODE literal must be enclosed within single quote.
*/

0 comments: