【Question 2】Five people, A, B, C, D, and E, line up in a row, with A and B needing to be adjacent. There are $\qquad$ different ways to arrange them.
Analysis: If A and B are tied together and treated as one person, there are only 4 people at this moment, with $4 \times 3 \times 2 \times 1$ ways to arrange them; A and B have 2 ways to arrange themselves: A, B or B, A. Therefore, there are a total of $4 \times 3 \times 2 \times 1 \times 2=48$ different ways to arrange them.