UML类图图示样例
代码对应:
interface IFly { void Fly(); }
interface ILanguage { void Speak(); }
class WideGoose : IFly
{
}
class Penguin : Bird { private Climate climate; }
class WideGooseAggregate { private WideGoose[] arrayWideGoose; }
class Bird { private Wing wing; public Bird() { wing = new Wing(); } }
abstract class Animal { public Metabolism(Oxygen oxygen,Water water) { } }

