โ Back to Printing
Question 269
Print a Char Variable
Print a Char Variable
Declare acharvariable namedgradeholding the letterA, then print it withSystem.out.println(): A Acharliteral uses single quotes.
Expected Output:
A
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.