当前分类: Java认证考试
问题:什么是静态初始化器?它有什么特点?与构造方法有什么不同?...
查看答案
问题:下列哪项是String的字面量?() A、“Hello”B、‘world’C、/u2345D、new String(“good”)...
问题:Which interface does java.util.Hashtable implement?() A、 java.util.MapB、 java.util.ListC、 java.util.HashableD、 java.util.Collection...
问题:以下有关接口的叙述错误的是哪项?() ...
问题: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...
问题:现有: 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 Company.com developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner. Which two can support this design goal?()A、 Store the data in a local variable.B、 Store the data in an instance variable.C、...
问题:现有: 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...
问题:int x=0 step1 &...
问题:Which of the f...
问题:关于抽象类与最终类,下列说法错误的是()。A、抽象类能被继承,最终类只能被实例化B、抽象类和最终类都可以被声明使用C、抽象类中可以没有抽象方法,最终类中可以没有最终方法D、抽象类和最终类被继承时,方法可以被子类覆盖...
问题:You are creating a servlet that generates stock market graphs. You want to provide the web browser withprecise information about the amount of data being sent in the response stream. Which twoHttpServletResponse methods will you use to provide this infor...
问题:Java中方法绑定有哪些形式?()A、编译时刻绑定B、运行时刻绑定C、静态绑定D、私有绑定...
问题:Which statements, whe...
问题:A developer is d...
问题:能够遍历泛型List〈Integer〉 al中的所有...
问题:类Teacher: class Teacher{ String name; float salary; Teacher(String name){ this.name = name; } Teacher(String name,float salary){ this.name = name; this.salary = salary; } } 执行语句Teacher t = new Teacher(“Tom”,2000.0f);后,字段salary的值是哪一项?() A、 20...
问题:HTTP中的POST和GET在下列哪些方面有区别()。...
问题:Which statements abo...