 An anonymous function is a literal for the function type.In contrast to literals, variables or constants are symbols that can take on one of a class of fixed values, the constant being constrained not to change.Literals are often used to initialize variables, for example, in the following, 1 is an integer literal and the three letter string in "cat" is a string literal