A string literal is anything in double quotes written in your program. variable = "This is a string literal" variable.class would return 'String', and so it's a string. But it's not a _litearl_, it's just a string. The literal is the "" side.