200);膁show();肀}袇}莆袃4、importjava.io.*;lassabc羇{publicstaticvoidmain(Stringargs[])薃{SubClasssb=newSubClass();芁));薈}羆}羄classSuperClass肃{inta=10,b=20;}薁classSubClassextendsSuperClass肆{intmax(){return((a>b)?a:b);}}莅蒁得分莀评卷人膆螆膃四、写出下面程序的运行结果(每小题10分,共30分)腿1、importjava.io.*;lassabc膇{publicstaticvoidmain(Stringargs[])蚀{ABs=newAB("Hello!","IloveJAVA.");膂));莆}芄}莂classAB{羀Strings1;蒆Strings2;蚄AB(Stringstr1,Stringstr2)肄{s1=str1;s2=str2;}蝿publicStringtoString()蒆{returns1+s2;}肅}薂蒈2、importjava.io.*;lassabc蒆{芄publicstaticvoidmain(Stringargs[])薁{inti,s=0;蚅inta[]={10,20,30,40,50,60,70,80,90};蚃for(i=0;i<a.length;i++)蚂if(a[i]%3==0)s+=a[i];芀"s="+s);螅}肄}蒄聿3、importjava.io.*;lassabc蒅{袂publicstaticvoidmain(Stringargs[])肂)腿{"a="+a+"\nb="+b);}袆}薄classSubClassextendsSuperClass袁{intc;艿SubClass(intaa,intbb,)芇{super(aa,bb);