Q: Is it better to implement the Vector class using inheritance (is-a relationship) or composition (has-a relationship). In other word, which one of the following gives a better implementation?
1. A Vector is a Point
2. A Vector uses a Point to help on the implementation
List the advantages and disavantages on both approaches.
Not sure on adavantages and disavantages, need assistance on basic understanding.