static void Main(string[] args) { SuperBot steven = new SuperBot(); steven.Bark(); Dog bailey = new Dog(); bailey.Bark(); }
static void Main(string[] args) { SuperBot steven = new SuperBot(new Dog(), new Robot(), new CleanRobot()); steven.Bark(); }