参考答案和解析
正确答案:B,C
更多“Which are not Java primitive types?()    A、 shortB、 BooleanC、 unitD、 float”相关问题
  • 第1题:

    下列哪个选项不是Java的保留字?

    A.TRUE

    B.boolean

    C.int

    D.public


    正确答案:A
    解析:Java是区分大小写的,true是Java的保留字,而TRUE不是。boolean,int和public都是Java的保留字。

  • 第2题:

    Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()  

    • A、private
    • B、final
    • C、static
    • D、int
    • E、abstract

    正确答案:B,C

  • 第3题:

    Which three types of content filtering are supported only for HTTP? ()(Choose three.)

    • A、block Flash
    • B、block Java applets
    • C、block ActiveX
    • D、block EXE files
    • E、block MIME type

    正确答案:B,C,D

  • 第4题:

    Which of the following are valid program types for a lightweight job?()

    • A、PLSQL_BLOCK PLSQL
    • B、EXECUTABLE
    • C、JAVA_STORED_PROCEDURE
    • D、STORED_PROCEDURE
    • E、EXTERNAL

    正确答案:A,D

  • 第5题:

    Which the three are valid declarations of a float?()

    • A、 float foo = -1;
    • B、 float foo = 1.0;
    • C、 float foo = 42el:
    • D、 float foo = 2.02f:
    • E、 float foo = 3.03d:

    正确答案:A,D,F

  • 第6题:

    以下()不是Java的原始数据类型。

    • A、short
    • B、boolean
    • C、unit
    • D、float

    正确答案:C

  • 第7题:

    以下不属于Java语言基本数据类型的是()。

    • A、long
    • B、boolean
    • C、char
    • D、String

    正确答案:D

  • 第8题:

    Application Control Engine (ACE) can check the health of servers and server farms by configuring health probes (which are sometimes referred to as keepalives). A probe can be one of many types. Which are valid ACE probes? ()

    • A、 HTTP
    • B、 Java scripting
    • C、 TCL scripting
    • D、 RADIUS
    • E、 TACACS

    正确答案:A,C,D

  • 第9题:

    Which two are valid declarations of a float?()

    • A、 float f = 1F;
    • B、 float f = 1.0.;
    • C、 float f = ‘1’;
    • D、 float f = “1”;
    • E、 float f = 1.0d;

    正确答案:A,C

  • 第10题:

    Given the JSP code: 10. 11. 12. 13.Hello, ${customer.title} ${customer.lastName}, welcome 14.to Squeaky Beans, Inc. 15.16.  Which three types of JSP code are used?()

    • A、Java code
    • B、Template text
    • C、Scripting code
    • D、Standard action
    • E、Expression language

    正确答案:B,D,E

  • 第11题:

    单选题
    Which statement is true about assertion in the Java programming language?()
    A

     Assertion expressions should not contain side effects.

    B

     Assertion expression values can be any primitive type.

    C

     Assertion should be used for enforcing preconditions on public methods.

    D

     An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.


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

  • 第12题:

    多选题
    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’ %>


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

  • 第13题:

    Which statement is true about assertion in the Java programming language?()  

    • A、 Assertion expressions should not contain side effects.
    • B、 Assertion expression values can be any primitive type.
    • C、 Assertion should be used for enforcing preconditions on public methods.
    • D、 An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.

    正确答案:A

  • 第14题:

    下面哪些类型属于Java基本数据类型()

    • A、int
    • B、Boolean
    • C、uint
    • D、double

    正确答案:A,D

  • 第15题:

    Which of the following are valid program types for a lightweight job?()

    • A、 PLSQL_BLOCK
    • B、 EXECUTABLE
    • C、 JAVA_STORED_PROCEDURE
    • D、 STORED_PROCEDURE
    • E、 EXTERNAL

    正确答案:A,D

  • 第16题:

    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

  • 第17题:

    下面哪些不是java的基本数据类型()。

    • A、short
    • B、Boolean
    • C、Integer
    • D、Float
    • E、String

    正确答案:B,C,E

  • 第18题:

    在32位机器上,下列哪种类型占用的字节数不为4?()

    • A、short
    • B、int
    • C、char *
    • D、float

    正确答案:A

  • 第19题:

    下面哪些不是java的简单数据类型? ()

    • A、short
    • B、Boolean
    • C、Double
    • D、float

    正确答案:B,C

  • 第20题:

    The polygon mirror is located in which of the following components?()

    • A、Developer unit
    • B、Scanner unit
    • C、Fuser unit
    • D、Laser unit

    正确答案:D

  • 第21题:

    Which of the following statements about declaration are true?()         

    • A、 Declaration of primitive types such as boolean, byte and so on does not allocate memory space for the variable.
    • B、 Declaration of primitive types such as boolean, byte and so on allocates memory space for the variable.
    • C、 Declaration of nonprimitive types such as String, Vector and so on does not allocate memory space for the object.
    • D、 Declaration of nonprimitive types such as String, Vector ans so on allocates memory space for the object.

    正确答案:A,D

  • 第22题:

    多选题
    Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()
    A

    private

    B

    final

    C

    static

    D

    int

    E

    abstract


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

  • 第23题:

    多选题
    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)。