What is a literal?
Ans. A literal is a piece of Smalltalk code that the compiler converts immediately to an object. Literals can be freely included in the programs just by typing them. Literal type Example Character $s Symbol #name String ‘David Letterman’ Number 12 Boolean false UndefinedObject nil Array of literals #(‘apple’ 12.