In Gallian's Contemporary Abstract Algebra, he defines $\mathbb{Z}_n$ as the set (see 10e, Ch.2: p. 39 - 40)$$\mathbb{Z}_n := \{0, 1, 2, 3, \dots, n-1 \}.$$
To be clear, at this point in the text, equivalence classes modulo $n$ have been introduced, and Gallian takes care to denote them by $[a]$. The reader would have no reason to believe that the 0, 1, 2, 3, etc. in the set above are anything but elements of the integers (I've searched the book for comments concerning this issue).
In Hungerford's Introduction to Abstract Algebra, $\mathbb{Z}_n$ is defined using equivalence classes modulo $n$: $$\mathbb{Z}_n := \{ [0], [1], [2], \dots, [n-1] \} \not \subset \mathbb{Z} \quad \text{where} \quad [a] = \{ b \in \mathbb{Z} \, \vert \, b = a \bmod n\}.$$
In both texts, the authors go on to say that $\mathbb{Z}_n$ forms a group under addition modulo n, though I suppose in the first, the "addition" has mod $n$ built in, while in the second, this gets buried in the definition of addition for equivalence classes mod $n$; that is
For the first: $+: \mathbb{Z}_n \times \mathbb{Z}_n \to \mathbb{Z}_n$ is defined by $a+b = (a+b) \bmod n$
For the second: $+: \mathbb{Z}_n \times \mathbb{Z}_n \to \mathbb{Z}_n$ is defined by $[a] + [b] = [a +_\mathbb{Z} b]$
Question: Is it important to distinguish between these definitions, or is it just a matter of perspective? What benefits are there in defining $\mathbb{Z}_n$ using equivalence classes rather than as just as a subset of the integers (pedagogically or otherwise)?