【单选题】以下程序的输出结果是 。 using System; namespace aaa { public class Person { private int age = 0; public int Age { get { return age; } set { if (value>=18) Console.WriteLine("成年人"); else Console.Writ...
【简答题】程序填空: public class People{ public String name; public int age; public People(){ } public People(String name,int age){ this.name=name; this.age=age; } public String show(){ return name+","+age; } } pub...
【单选题】public class Person { private int age = 0; public int Age { get { return age; } set { if (value >= 18) Console.WriteLine("成年人"); else Console.WriteLine("未成年人"); } } } public class People : Person { pu...