![](https://lstatic.shangxueba.com/jiandati/h5/images/m_q_title.png)
【多选题】下列代码的说法正确的是: class Cell{ public int row; public Cell(int row){} public
【多选题】下列代码的说法正确的是: class Cell{ public int row; public Cell(int row){} public void Drop(int row){} protected int move(int row){ System.out.print("移动一行"); return 5; } } public class Tetromino extends Cell{ public Cell(int row){} public void drop(int row){} public int move(int row){ drop(); return 8; } }
A、子类Tetromino中的drop方法覆盖了父类Cell中Drop方法
B、子类Tetromino中move方法的返回类型要与父类Cell中的一致
C、子类Tetromino中move方法的访问权限比父类的大,编译报错
D、子类Tetromino中move方法的访问权限只能比父类的大或一样