The UML class diagram is a rectangle that has three sections. Fill in the members with necessary symbols for public, protected and private members.
```
class Square
{
public:
// unlisted members
void resize(double newSide);
void move(Pair
protected:
void erase();
// other members
private:
double side;
Pair
};
```
The top section contains the name of the class. The second section contains the data specification for the class. The third section contains the function member. The + sign means public member, the # sign means protected. The – sign means private. The ellipsis (. . .) means there are omitted members.
You might also like to view...
C's if statement executes the statement inside its body if a specified __________ is __________.
(a) condition, true (b) condition, false (c) equality operator, true (d) relational operator, true
Which operator can be used in string concatenation?
a. * b. += c. ++ d. =+