using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApplication1
{
class MyCar: Car
{
int people;
public MyCar(int w, float g, int p)
: base(w, g)
{
wheels = w;
weight = g;
people = p;
}
public void info()
{
Console.WriteLine("我有{0}个车轮", wheels);
Console.WriteLine("我重{0}kg", w......
阅读全文