题目内容
下列程序中注释的哪两个代码(A, B, C, D)是错误的(无法通过编译)?class Father{private int money=l2;float height;int seeMoney(){return money; //A }}class Son extends Father{int height;int lookMoneyO{int m=seeMoney(); //Breturn m; }}class E{public static void main(String args[]){Son erzi=new Son();erzi.money=300; //Cerzi.height=l .78F://D}}
查看答案
搜索结果不匹配?点我反馈