UML Multiplicity
Across
- 2. For std::string, we only have ___ states
- 4. This type, std::______, allows us to use optional values easily in a program
- 6. What we use in C++ for mandatory and optional multivalued attributes. E.g., std::array<> is an example
- 9. One of the 3 states for a char* that indicates that a value is stored
- 10. For multiplicity, UML term that means we must have at least 1
Down
- 1. For multiplicity, UML term that means there can be 0 or more
- 3. A (bad) solution when a developer inherits from a class to add behavior, e.g., trying to inherit from std::string
- 5. A std::optional can replace using pointers for optional values
- 7. One of the 3 states for a char* that indicates no value is stored
- 8. A solution for std::string (and other types) to indicate if a value is valid, e.g., isValidName