摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 学习{ class 接口 { } //c#是单继承的,一个类只能从一个父类继承,但接口是多实现的,一个类可以用来实现多个接口 public interface Walkable { void Walk(); } public interface Flayble //定义一个接口 { void Fly();//创建这个接口的方法,但不... 阅读全文
posted @ 2012-04-18 07:38
xinyebs
阅读(165)
评论(0)
推荐(0)

浙公网安备 33010602011771号