class class1 { public static void Main(string[] args) { Person ps = new Person(); ps.KouLan(); IFlyable fly = new Person(); fly.KouLan(); Console.ReadKey(); } } public class Person : IFlyable { public void KouLan() { Console.WriteLine("wo hui kou lan…
启动eclipse之后,进行相关操作时,弹出界面,提示:loading descriptor for xxx 解决方法: 在Eclipse左侧的Project Explorer 最右上角有一个小钮,鼠标移上去时提示"View Menu".你点一下,在弹出的上下文菜单中选择"Customize View..." 弹出一个对话框.你选择: Content 选项卡,在里面把没用的去掉就行了 一般将 Java EE Navigator Content WEB 勾掉,然后重启…