The literal string is the sequence of characters from the source. They are used to represent the sequence. There is a way of writing the literal strings, they can be written by adding the text or group of characters, and they should be surrounded by either single, double, or triple quotes.