Array Assignments

In this lesson, we explore what happens when we assign one array to another array.

We begin this lesson by reviewing what we know about assigning one variable to another one.

Variables of a primitive type

As we learned earlier in this course, when we assign a variable of a primitive type to another variable of the same type, the value in one variable replaces the value in the other. The figure given below reminds you of this fact.

Get hands-on with 1400+ tech skills courses.