What is the output of this program?

class Literal14
{
public static void main(String[] args)
{
char c='a';
System.out.println(c);
}
}
/*
Output:- a
Explanation:- We can represent a char literal as a single character within single quotes.
*/

0 comments: