Character Literals - Java Quiz Question


Which of the following is correct initialization?


A
Char a = 'A';
B
char c = 'a';
C
Character c = 'd';
D
char char = 9;