Which one of these is the correct way to display the variable var, containing number 1 as value to the console?

1.print('1')
2.print(var)
3.print('var')
4.print(1)

2. print(var)