예제) 인터페이스(1)

 

 

 

using System;

interface IFly

{

  void Fly();

}

class SportsCar

{

  public void FastRun(){}

}

abstract class Airplane : IFly

{

  public abstract void Fly();

}

 

 

 

 

 

 

 

 

+ Recent posts