how many different ways can four DVDs be lined up on a shelf?

4!

The fact that you are asking this question indicates that you are studying permutations. Surely it was explained in the text.