A maximal ideal is always a prime ideal, and the quotient ring is always a field. In general, not all prime ideals are maximal. 1
In $2\mathbb{Z}$, $4 \mathbb{Z} $ is a maximal ideal. Nevertheless it is not prime because $2 \cdot 2 \in 4\mathbb{Z}$ but $2 \notin 4\mathbb{Z}$. What is that is misunderstand?
As Thomas points out, $2\mathbb Z$ is not a "ring", since it does not contain any identity element $1.$ It is true that every maximal ideal of a commutative ring with identity is prime.