In Java a char variable is capable of storing any Unicode ch
In Java, a char variable is capable of storing any Unicode character. Write a statement that assigns the Greek letter A to a char variable named greekLetter.
Solution
Answer:
char greekLetter = \'A\';
In above statement, we declared greekLetter char variabe and assigned with letter \'A\'.
