When might we use a structure instead of a class?
Nice! A structure works whenever we want to bundle simple information. In many cases, however, we'll stick with classes; for example, if we need inheritance.
Yikes! A structure works whenever we want to bundle simple information. In many cases, however, we'll stick with classes; for example, if we need inheritance.