1.在一台电脑A上用Eclipse新建的Java工程,换了一台电脑B,再用Eclipse导入时却出现了错误,工程显示红色叹号,并有如下两个错误提示: The project cannot be built until build path errors are resolved Unbound classpath Container: 'JRE System Library [JavaSE-1.7]' in project 'EncapInher' 由错误提示基本可以判别出是两个Eclipse的…
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…