3 ms·
> you can have your class Cake and EatCake() it too Cake should inherit Food or Pastry or something and Eat should be made a generic that accepts a base class
by ryanisnan 6y ago
> you can have your class Cake and EatCake() it too
Cake should inherit Food or Pastry or something and Eat should be made a generic that accepts a base class