更多“Which of these are keywords in Java?()  ”相关问题
  • 第1题:

    You need to store elements in a collection that guarantees that no duplicates are stored. Which two interfaces provide that capability?()

    • A、 Java.util.Map
    • B、 Java.util.Set
    • C、 Java.util.List
    • D、 Java.util.StoredSet
    • E、 Java.util.StoredMap
    • F、 Java.util.Collection

    正确答案:B,D

  • 第2题:

    Which two elements of the Java Enterprise Application Archive are required?()

    • A、EJB Archive  
    • B、Deployment Descriptor
    • C、META-INF sub directory
    • D、Resource Adapter archive
    • E、Java library

    正确答案:A,B

  • 第3题:

    Which interface does java.util.Hashtable implement?()  

    • A、 java.util.Map
    • B、 java.util.List
    • C、 java.util.Hashable
    • D、 java.util.Collection

    正确答案:A

  • 第4题:

    Which two interfaces provide the capability to store objects using a key-value pair?()

    • A、 Java.util.Map.
    • B、 Java.util.Set.
    • C、 Java.util.List.
    • D、 Java.util.StoredSet.
    • E、 Java.util.StoredMap.
    • F、 Java.util.Collection.

    正确答案:A,E

  • 第5题:

    Which are not Java keywords? ()   

    • A、 TRUE
    • B、 sizeof
    • C、 const
    • D、 super
    • E、 void

    正确答案:A,B

  • 第6题:

    单选题
    Which can be used to decode charS for output?()
    A

     Java.io.InputStream.

    B

     Java.io.EncodedReader.

    C

     Java.io.InputStreamReader.

    D

     Java.io.InputStreamWriter.

    E

     Java.io.BufferedInputStream.


    正确答案: D
    解析: 暂无解析

  • 第7题:

    多选题
    Which two are reserved words in the Java programming language?()
    A

    run

    B

    import

    C

    default

    D

    implement


    正确答案: B,C
    解析: 暂无解析

  • 第8题:

    多选题
    Which two statements are reserved words in Java?()
    A

    Run

    B

    Import

    C

    Default

    D

    Implement


    正确答案: B,D
    解析: 暂无解析

  • 第9题:

    单选题
    You are creating tablespaces in Oracle. Which of the following keywords or clauses permits the datafiles of a database to grow automatically in order to accommodate data growth?()
    A

    DEFAULT STORAGE 

    B

    EXTENT MANAGEMENT 

    C

    AUTOEXTEND 

    D

    DATAFILE


    正确答案: B
    解析: 暂无解析

  • 第10题:

    多选题
    Which the two are reserved words in Java?()
    A

    run

    B

    import

    C

    default

    D

    implement


    正确答案: C,D
    解析: 暂无解析

  • 第11题:

    单选题
    You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?()
    A

     Java.util.Map.

    B

     Java.util.Set.

    C

     Java.util.List.

    D

     Java.util.StoredSet.

    E

     Java.util.StoredMap.

    F

     Java.util.Collection.


    正确答案: D
    解析: 暂无解析

  • 第12题:

    多选题
    Which of these are keywords in Java?()
    A

    default

    B

    NULL

    C

    String

    D

    throws

    E

    long


    正确答案: E,D
    解析: 暂无解析

  • 第13题:

    You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?()  

    • A、Java.util.Map.
    • B、Java.util.Set.
    • C、Java.util.List.
    • D、Java.util.StoredSet.
    • E、Java.util.StoredMap.
    • F、Java.util.Collection.

    正确答案:D

  • 第14题:

    You are writing a JSP that includes scriptlet code to declare a List variable and initializes that variable to anArrayList object. Which two JSP code snippets can you use to import these list types?()

    • A、<%! import java.util.*; %>
    • B、<%! import java.util.List;import java.util.ArrayList; %>
    • C、<%@ page import=’java.util.List’import=’java.util.ArrayList’ %>
    • D、<%@ import types=’java.util.List’types=’java.util.ArrayList’ %>
    • E、<%@ page import=’java.util.List,java.util.ArrayList’ %>
    • F、<%@ import types=’java.util.List,java.util.ArrayList’ %>

    正确答案:C,E

  • 第15题:

    public class Foo {  static int[] a;  static { a[0]=2; }  public static void main( String[] args) {}  }  Which exception or error will be thrown when a programmer attempts to run this code?() 

    • A、 java.lang. StackOverflowError
    • B、 java.lang.IllegalStateException
    • C、 java.lang.ExceptionlnlnitializerError
    • D、 java.lang.ArraylndexOutOfBoundsException

    正确答案:C

  • 第16题:

    Which statements about inheritance are true?()         

    • A、 In Java programming language only allows single inheritance.
    • B、 In Java programming language allows a class to implement only one interface.
    • C、 In Java programming language a class cannot extend a class and implement a interface together.
    • D、 In Java programming language single inheritance makes code more reliable.

    正确答案:A,D

  • 第17题:

    Which three data sources integrations are provided by Coherence out of the box ? ()

    • A、 TopLink Grid and TopLink Essentials
    • B、 Java Persistence API (JPA)
    • C、 Open Database Connectivity (ODBC)
    • D、 FileSystem
    • E、 Java Database Connectivity (JDBC) 

    正确答案:A,B,E

  • 第18题:

    多选题
    Which two agent listeners are meant for Oracle eBusiness Suite only? ()(Choose two.)
    A

    Workflow Error

    B

    Workflow Deferred

    C

    Workflow Java Error

    D

    Workflow Java Deferred

    E

    Workflow Inbound Notification

    F

    Workflow Deferred Notification


    正确答案: E,F
    解析: 暂无解析

  • 第19题:

    单选题
    Which interface does java.util.Hashable implement?()
    A

     Java.util.Map.

    B

     Java.util.List.

    C

     Java.util.Hashable.

    D

     Java.util.Collection.


    正确答案: A
    解析: 暂无解析

  • 第20题:

    单选题
    Which command line invocation will produce the output?()
    A

     java Test 2222

    B

     java Test 1234

    C

     java Test 4242

    D

     java Test 4321


    正确答案: B
    解析: 暂无解析

  • 第21题:

    多选题
    Which are not Java primitive types?()
    A

    short

    B

    Boolean

    C

    unit

    D

    float


    正确答案: C,D
    解析: Java的原始数据类型一共就八个,分别是:byte,short,int,long,boolean,char,float,double。注意这些是大小写敏感的,而Boolean是booelan的封装类(wrapper class)。

  • 第22题:

    单选题
    Which interface does java.util.Hashtable implement?()
    A

     java.util.Map

    B

     java.util.List

    C

     java.util.Hashable

    D

     java.util.Collection


    正确答案: A
    解析: 暂无解析

  • 第23题:

    单选题
    You are trying to alter the initial segment size given to a table in a dictionary-managed tablespace. Which of the following keywords would be used as part of this process?()
    A

    DROP TABLE 

    B

    ALTER TABLE 

    C

    RESIZE 

    D

    COALESCE


    正确答案: C
    解析: 暂无解析

  • 第24题:

    单选题
    public class Foo {  static int[] a;  static { a[0]=2; }  public static void main( String[] args) {}  }  Which exception or error will be thrown when a programmer attempts to run this code?()
    A

     java.lang. StackOverflowError

    B

     java.lang.IllegalStateException

    C

     java.lang.ExceptionlnlnitializerError

    D

     java.lang.ArraylndexOutOfBoundsException


    正确答案: A
    解析: 暂无解析