PaycomOA #5
Q5. Java Overriding — Return Type
估计简单概念题评测数据准备中,可先阅读题面
考点(AI 标注)迭代器设计
Which statement is correct for a method which is overriding public void add(int a) { ... }?
- the overriding method must return void <-
- the overriding method must return int
- the overriding method can return whatever it likes