1. If you are creating something that provides common functionality to unrelated classes, use an interface . 2. If you are creating something for objects that are closely related in a hierarchy, use an abstract class.
1. If you are creating something that provides common functionality to unrelated classes, use an interface . 2. If you are creating something for objects that are closely related in a hierarchy, use an abstract class.