• 2021-04-14
    中国大学MOOC:编译并运行下面的程序,运行结果为( )。publicclassMain{publicstaticvoidmain(String[]args){AAobj=newBB();System.out.println(obj.f(4,6));}}classAA{doublef(doublex,doubley){returnx*y;}}classBBextendsAA{doublef(doublex,doubley){returnx+y;}}