L3Harris interview question

What's the difference between a struct and a class?