Pergunta de entrevista da empresa Verizon

Difference between a class and id?