Java: LiteralsBoolean LiteralsThere are two: true and false.Character LiteralsThese are expressed by a single character surrounded by a single quotation. Example: 'a'String LiteralsSimply surround the string with double quotes. Example: "Hi how are you today?" |