当前分类: Java认证考试
问题:用内部类或匿名类实现事件处理的特点是什么?()...
查看答案
问题:下面哪些类是抽象类()A、java.io.InputStreamB、java.io.PrintStringC、java.io.FileWriterD、java.io.Reader...
问题:程序员想要创建一个名为MyThread的类以便在main方法中用Thread实例化。对于下面三行: MyThread必须继承Thread。 MyThread必须实现Thread。 MyThread必须覆盖public void run()。 有几行是正确的?() A、 0B、 1C、 2D、 3...
问题:final方法不能被覆盖...
问题:Which three web̳...
问题:如何创建包?在什么情况下需要在程序里创建包?...
问题: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...
问题:class Output { public static void main(String [] args) { int i = 4; System.out.print("3" + i + " "); System.out.print(i + 4 + "6"); System.out.println(i + "7"); } } 结果为() A、7 8611B、7 44647C、34 8611D、34 8647...
问题:现有: class Output&ens...
问题: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 ...
问题:输入流与输出流各有什么方法?...
问题: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;...
问题:Given the security&en...
问题:在创建对象的时候,会自动为对象的第个成员变量初始化。...
问题:1. class BigDog extends Dog { 2. // insert code here 3. } 分别插入到第 2 行,哪二项可以编译?()A、BigDog() { super(); this(); }B、BigDog() { String name = "Fido"; super(); }C、BigDog() { super(); String name = "Fido"; }D、private BigDog() { super();}...
问题: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...
问题:数组的长度可以通过以下哪个属性或方法得到?() A、sizeB、lengthC、getSize()D、getLength()...
问题:下载并安装JDK软件包,并尝试查看其中的JDK文档。...
问题:下面的哪些声明是合法的?()...
问题:现有: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之后跟着一个异常...