The addition of cornstarch and constant whisking impedes curdling, so even if you use whole milk, you'll end up with a smooth and tart pudding. Again, do not use any dairy with less fat than whole milk.