![](https://csdnimg.cn/release/download_crawler_static/87955037/bg4.jpg)
int a;
SubSubClass( int aa, i nt bb, i nt cc) {
super(aa, bb, cc);
A = aa + bb + cc;
}
void show( ){
System.out.pri ntln ("a="+a+"\nb="+b+"\nc="+c);
}
}
运行结果是: __________________________________________________________________
运行结果:
a=60
b=20
c=30
9
、以下程序的输出结果为 ___________ 相等 _______
。
class Stri ngTest1 {
public static void main(String[] args) {
Stri ng s
仁
"hello";
String s2=new String("hello");
if( s1.equals(s2)) System.out.println("
相等
");
else System.out.println("
不相等
");
}
}
10
、以下程序段的输出结果为 ____________
5 6
public class TestArray {
7 8 9____________________________
public static void main( Stri ng args[ ]) {
int i , j ;
int a[ ] = { 5,9,6,8,7};
for ( i = 0 ; i < a.len gth-1; i ++ ) {