public class Parent {  public int addValue( int a, int b) {     int s;     s = a+b;     return s;     }     }  class Child extends Parent {  }  Which methods can be added into class Child?()   

A .  int addValue( int a, int b ){// do something...} B .  public void addValue (){// do something...} C .  public int addValue( int a ){// do something...} D .  public int addValue( int a, int b )throws MyException {//do something...}

时间:2022-10-16 08:08:55 所属题库:SCJP程序员认证考试题库

相似题目