Answers for "how to initialize a char in java"

4

how to initialize char in java

char c = '\0';
Posted by: Guest on July-16-2021
-2

how to initialize a char in java

//notice the single quotes 
char myGrade = 'B';
Posted by: Guest on June-15-2021

Code answers related to "how to initialize a char in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language