public static void Main(String[] args) { MallardDuck mallard = new MallardDuck(); mallard.display(); mallard.perfomFly(); mallard.perfomQuack(); Console.ReadKey(); }
public static void Main(String[] args) { MallardDuck mallard = new MallardDuck(); mallard.display(); mallard.perfomFly(); mallard.perfomQuack(); Console.ReadKey(); }