当前分类: Java认证考试
问题:Which expressions wil...
查看答案
问题:Which two can ...
问题:实用的网络程序最少需要几个线程?()A、两个线程,一个线程等待网络消息,另一个线程处理用户动作B、一个线程即可C、三个线程,一个线程作为服务器端,第二个线程作为客户端,第三个线程响应用户动作D、四个线程,一个线程作为服务器端,第二个线程作为客户端,第三个线程作为数据传输,第四各线程响应用户动作...
问题:An object is()A、what classes are instantiated from.B、an instance of a class.C、a blueprint for creating concrete realization of abstractions.D、a reference to an attribute.E、a variable....
问题:类的可访问性不影响类成员的可访问性...
问题:Java语言中表达式“11”+22的结果是哪项?() A、33B、1122C、22D、表达式错误...
问题:Given: 3.class MyServlet&e...
问题:下面哪个类表示在JTextField的按Enter键的事件()A、TextEventB、InputEventC、ActionEventD、KeyEvent...
问题:public void testIfA(){ if(testIfB("True")){ System.out.println("True"); }else{ System.out.println("Nottrue"); } } public Boolean testIfB(Stringstr){ return Boolean.valueOf(str); } What is the result when method testIfA is invoked?()A、TrueB、NottrueC、Anexce...
问题:现有: class Banana2&en...
问题:You are assigned&ensp...
问题:Given the command line java Pass2 and: public class Pass2 { public void main(String [] args) { int x=6; Pass2 p = new Pass2(); p.doStuff(x); System.out.print(” main x = “+ x); } void doStuff(int x) { System.out.print(” doStuffx = “+ x++); } } W...
问题:现有: 1. interface Altitude { 2. //insert code here 3. } 和4个声明: int HIGH = 7; public int HIGH = 7; abstract int HIGH = 7; interface int HIGH = 7; 分别插入到第2行,有多少行可以编译?() A、 0B、 1C、 2D、 3E、 4...
问题:Which two choices are equivalent?()A、 16 4B、 16 / 2C、 16 * 4D、 16 2E、 16 / 22F、 16 2...
问题:1. interface A { public void aMethod(); } 2. interface B { public void bMethod(); } 3. interface C extends A,B { public void cMethod(); } 4. class D implements B { 5. public void bMethod() { } 6. } 7. class E extends D implements C { 8. public void...
问题:You want a cla...
问题:Given an HttpSession...
问题:构造函数只能重载不能覆盖...
问题:程序员已经创建了一个类,该类的实例可以用做Hashtable&#...
问题:以下关于框架和其他窗口之间的关系中,错误的是() A、 对话框必须依附于某个框架B、 当框架最小化时,所有依附于它的窗口也会最小化C、 框架是一个程序的主窗口,每个具有图形界面的程序都至少要有一个框架D、 内部框架也是顶级容器组件...