Verizon Interview Question

Difference between a class and id?