Character and String constant Java
Characters are written as Character Constants by enclosing them in a pair of single quotes. String Constants are written by enclosing a set of characters within a pair of double quotes.
A character constant is enclosed in single quotes. String constants are enclosed in double-quotes. Character
constants are single digits or characters. String Constants are collections of characters.