Java认证
Java认证模拟试题(5)
日期:2013-10-31 14:26
question 16)
which of the following statements are true?
1) methods cannot be overriden to be more private
2) static methods cannot be overloaded
3) private methods cannot be overloaded
4) an overloaded method cannot throw exceptions not checked in the base class
question 17)
what will happen if you attempt to compile and run the following code?

class base {}class sub extends base {}class sub2 extends base {}public class cex{ public static void main(string argv[]){ base b=new base(

1/2 下一页 上一页 首页 尾页

Java认证


返回 刷新 WAP首页 网页版 登录
05/08 03:31