Reference Types
In this lesson, you will learn how variables of reference types maintain values.
Variables of reference types have individual identities, but they do not have individual values. They provide access to existing variables.
Slices as reference types #
We have already seen this concept with slices. Slices do not own elements, they provide access to existing elements:
Get hands-on with 1400+ tech skills courses.