static void Main(string[] args) { Pig myPig = new Pig(); Dog myDog = new Dog(); myDog.sleep(); myPig.animalSound(); myDog.animalSound(); }