- 1 current stop: learning
- 2 upcoming
- 3 upcoming
- 4 upcoming
- 5 upcoming
Finish after stop 5
Stop 1 of 5 · Blueprint office
Trick to keep in mind+3 XP
struct and class differ in one default: struct leaves the door open, class locks it.
Both keywords create a type with data, member functions, constructors and access sections. The only built-in difference is what happens to members before you write any access label: public for struct, private for class. Convention follows from that: struct for plain data bundles, class when you protect rules.
Read it once, then a question tests whether the trick stuck.