Question: what is the difference between character and string in java?
Answer: char have any but one character (letters, numbers,...) Char is a single alphabet where as String is a sequence of characters. Char is primitive datatype where as String is a class. A char holds a single character, while a string holds lots of characters.