Assigning refers to the act of assigning or associating a value or object to a variable or reference. It establishes a connection between them.
Related terms
Initialization: The act of assigning an initial value to a variable/reference at the time of declaration.
Pass-by-value vs. Pass-by-reference: Different ways variables/references are passed into methods, affecting how modifications inside methods reflect outside.
Type Casting/Conversion: Changing an entity from one data type to another, often involving assigning compatible types.