Struct inheritance
- There is no inheritance among structs similar to classes in other languages. However, there is composition.
- In other words, attributes of a struct can be both primitive types and other structs.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help