前面我我们学习了如何在控制台输出一句话,今天我们学习一下更详细的输出方式. Console.WriteLine();和Console.Write(); 我们来看一下下面几行代码, using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace hello { class Program { static voi
创建如下三个类:(People类中的三个方法分别输出一些信息,ChinaPeople 和AmericanPeople类重写父类的三个方法). ackage com.chuoji.text01; public class People { protected double height; protected double weight; public double getHeight() { return height; } public void setHeight(double height)