Dog rex = new Dog();
rex.Name = "Rex";
rex.Eat();  // inherited from Animal
rex.Bark(); // defined on Dog itself
