格林模拟试题三(下)(3)
百度广告
which of the following statements are true?
1) code must be written if the programmer wants a frame to close on selecting the system close menu
3) the layout manager for a frame cannot be changed once it has been assigned
question 39)
given the following class definition
public class droitwich{ class one{ private class two{ public void main(){ system.out.println("two"); } } }}which of the following statements are true
2) the code will not compile because class two is marked as private
4) the code will compile without error
given the following code
class base{static int oak=99;}public class doverdale extends base{public static void main(string argv){ doverdale d = new doverdale(); d.amethod(); } public void amethod(){ //here } }which of the following if placed after the comment //here, will compile and modify the value of the variable oak?
1) super.oak=1;
3) base.oak=22;
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>