Which of the following statements is the precise meaning for the statement n = 3?
(a) n is a variable that holds int value 3
(b) n is a variable that references an object that holds int value 3.
The correct option is A
A variable is a name that refers to a value. The assignment statement creates new variables and gives them values:
n=3