Pergunta de entrevista da empresa Meta

What's the difference between a Class and a Struct & when to use one vs. the other?