当前分类: Java认证考试
问题:10. class Line { 11. public static class Point { } 12. } 13. 14. class Triangle { 15. // insert code here 16. } Which code, inserted at line 15, creates an instance of the Point class defined in Line?() A、 Point p = new Point();B、 Line.Point p = ne...
查看答案
问题:现有: - f 是...
问题:Which of the f...
问题:NumberFormat nf= NumberFormat.getInstance(); nf.setMaximumFractionDigits(4); nf.setMinimumFractionDigits(2); String a = nf.format(3.1415926); String b = nf.format(2); Which two are true about the result if the default locale is Locale.US?()A、 The val...
问题:For a given Servlet Response response, which retrieves an object for writing binary data? ()A、 response.get writer ()B、 response.get Output Stream ()C、 response.getOutput Writer()D、 response.get Writer ().get Output Stream ()E、 response.get Writer (Writer...
问题:现有: 1. class Book { 2. private final void read() { System.out.print("book "); } 3. } 4. class Page extends Book { 5. public static void main(String [] args) { 6. // insert code here 7. } 8. private final void read() { Syst...
问题:现有如下类型: a -&en...
问题:Which statements concerning the event model of the AWT are true?() A、At most one listener of each type can be registered with a component.B、Mouse motion listeners can be registered on a List instance.C、There exists a class named ContainerEvent in package...
问题:现有: class Thre...
问题:如何设置表格型布局方式?()...
问题:Which path is ...
问题:以下有关接口的叙述错误的是哪项?() ...
问题:33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointer...
问题:HTTP中的POST和GET在下列哪些方面有区别()。...
问题:下列哪项是String的字面量?() ...
问题:Java中方法绑定有哪些形式?()A、编译时刻绑定B、运行时刻绑定C、静态绑定D、私有绑定...
问题:Given the following&e...
问题:现有: public class Tester { public static void main (String[] args) { intx-5; Integer xl=x; Integer x2=x; int x3=new Integer(5); system..ut.print(x1.equals(x)); system..ut.print(xl==x); system..ut.print(x2.equals(xl)); system..ut.p...
问题:A developer is d...
问题:能够遍历泛型List〈Integer〉 al中的所有...