There are 4 options for the student in the first position, 3 options for the student in the second position (since one student has already been placed), 2 options for the student in the third position, and 1 option for the student in the fourth position. Therefore, there are $4\cdot3\cdot2\cdot1=\boxed{24}$ different ways for the students to stand in line.