Verizon interview question

Difference between a class and id?