5. Variable

5.1 Using name variable

In the below example name is a variable. We are assigning the value of John Smith to the variable name. In the next statement, we are printing the value of name.