下面程序的输出结果是:
public class Tst1
public static void main(String[args)(
Bb=new BO:
b.m=20
Aa=b;
a.m=50
int x=a.getM0+b.getM0+aseeMO:
Systemoutprintln(x)
class A
int m
int getMO
retum m
int seeM0(
return m
)
class B extends Af
int m
int getMO(
return m-100.
A
以上都不对
B-150