1、JavaScript是解释型语言吗?
2、这道题的打印是?
package com.m;
public class Test {
public int test(int a,int b){
return a - b;
}
public static void main(String[] args) {
Test1 test1 = new Test1();
Test test = new Test1();
System.out.println(test.test(50,100)); //打印?
System.out.println(test1.test(50,100)); //打印?
}
}
class Test1 extends Test{
public int test(int a,int b){
return a+b;
}
}