当前分类: Java认证考试
问题:有关new关键字的描述正确的是哪项?() ̳...
查看答案
问题:下载并安装JDK软件包,并尝试查看其中的JDK文档。...
问题:现有: class Output&ens...
问题:现有:t是一个合法的Thread对象的引用,并且t的合法run()方法如下: public void run() { System.out.print ("go"); } 及: t.start(); t.start(); t.run(); 哪一个是结果?() A、go goB、go go goC、go之后跟着一个异常D、go go之后跟着一个异常...
问题:Which of the following statements are legal?() A、 long l = 4990;B、 int i = 4L;C、 float f = 1.1;D、 double d = 34.4;E、 double t = 0.9F;...
问题:输入流与输出流各有什么方法?...
问题:Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page. Which option prevents the exceptionthrown by my:errorProne from invoking the error page m...
问题:Which method must be used to encode a URL passed as an argument to HttpServletResponse.sendRedirect when using URL rewriting for session tracking?()A、 ServletResponse.encodeURLB、 HttpServletResponse.encodeURLC、 ServletResponse.encodeRedirectURLD、 HttpSer...
问题:1. interface TestA { String toString(); } 2. public class Test { 3. public static void main(String[] args) { 4. System.out.println(new TestA() { 5. public String toString() { return “test”; } 6. } 7. } 8. } What is the result?() A、 testB、 nullC、 A...
问题:Which two are characteristics of the Transfer Object design pattern?()A、It reduces network traffic by collapsing multiple remote requests into one.B、It increases the complexity of the remote interface by removing coarse-grained methods.C、It increases the ...
问题:如何创建一个表格包型布局管理器?()...
问题:public interface Foo { int k = 4; 3. } Which three are equivalent to line 2?()A、 final int k = 4;B、 public int k = 4;C、 static int k = 4;D、 abstract int k = 4;E、 volatile int k = 4;F、 protected int k = 4;...
问题:数组的长度可以通过以下哪个属性或方法得到?() A、sizeB、lengthC、getSize()D、getLength()...
问题:Which two CANNOT&ensp...
问题:Which statements abo...
问题:Which code fragments&...
问题:Which the two are characteristics of the Service Locator pattern?()A、 It encapsulates component lookup proceduresB、 It increases source code duplication and decreases reuseC、 It improves client performance by caching context and factory objectsD、 It degra...
问题:AnInterface is an interface. AnAdapter0 is a non-abstract, non-final class with a zero argument constructor. An Adapterl is a non-abstract, non-final class without a zero argument constructor, but with a constructor that takes one int argument. Which tw...
问题://point X public&ens...
问题:程序员想要创建一个名为MyThread的类以便在main方法中用Thread实例化。对于下面三行: MyThread必须继承Thread。 MyThread必须实现Thread。 MyThread必须覆盖public void run()。 有几行是正确的?() A、 0B、 1C、 2D、 3...