因簡書改版后無法添加擴展鏈接,20170214問題解析請到公眾號查看,問題解析在公眾號首發,公眾號ID:weknow619。
package Feb2017;
public class Ques0215 {
public static void main(String[] args) {
B b = new B();
b.test();
}
}
class A {
final void method(){}
}
class B extends A {
void test(){
method();
}
}
今日問題:
請問主程序能否正常編譯通過?