Ch. 2.4: Variables, Literals, and Assignment Statements Flashcards
1
Q
What is an assignment?
A
An operator that copies the value on its right into the varial named on the left.
2
Q
What is a variable definition?
A
Tells the compiler the variable’s name and the type of data it will hold.
3
Q
What is a literal?
A
A piece of data that is written directly into a program’s code.