• 2021-04-14
    阅读下列程序,程序的运行结果是____。
    #include
    usingnamespacestd;
    classAnimal
    {
    public:
    voidspeak(){cout<<"animallanguage!"<};
    classCat:publicAnimal
    {
    public:
    voidspeak(){cout<<"catlanguage:miaomiao!"<};
    intmain()
    {
    Catcat;
    cat.speak();
    }