The solution is to either use inheritance or interfaces so that objects of type circle
and box
look the same to the manifold
class but have different implementations for common methods.
3 Likes
The solution is to either use inheritance or interfaces so that objects of type circle
and box
look the same to the manifold
class but have different implementations for common methods.