Plant类派生出子类Flower Flower类派生出子类Rose 以下声明错误的是A. Plant p=new Plant (

继续教育 子类,声明,错误 已帮助 人

Plant类派生出子类Flower ,Flower类派生出子类Rose,以下声明错误的是

A. Plant p=new Plant ();

B. Plant a1 =new Flower();

C. Flower f=new Rose ();

D. Rose r=new Plant ();

热搜:静止型a地中海贫血患者之间婚配,生出轻型