多选题Which two valid declarations of a char? ()AChar ch = “a”;BChar ch = ‘“‘ ‘;CChar ch = ‘cafe‘;DChar ch = “cafe”;EChar ch = ‘“ucafe‘;FChar ch = ‘“u10100‘;GChar ch = (char) true;

题目
多选题
Which two valid declarations of a char? ()
A

Char ch = “a”;

B

Char ch = ‘“‘ ‘;

C

Char ch = ‘cafe‘;

D

Char ch = “cafe”;

E

Char ch = ‘“ucafe‘;

F

Char ch = ‘“u10100‘;

G

Char ch = (char) true;


相似考题
更多“Which two valid declarations of a char? ()”相关问题
  • 第1题:

    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

  • 第2题:

    Which three are valid declarations of a float? () 

    • A、 Float foo = -1;
    • B、 Float foo = 1.0;
    • C、 Float foo = 42e1;
    • D、 Float foo = 2.02f;
    • E、 Float foo = 3.03d;
    • F、 Float foo = 0x0123;

    正确答案:A,D,F

  • 第3题:

    Which two options are valid WAN connectivity methods?()

    • A、PPP
    • B、WAP
    • C、DSL
    • D、Ethernet
    • E、L2TPv3

    正确答案:A,C

  • 第4题:

    Which two are valid values for the  element inside a  element ofa web application deployment descriptor?()

    • A、NULL
    • B、SECURE
    • C、INTEGRAL
    • D、ENCRYPTED
    • E、CONFIDENTIAL

    正确答案:C,E

  • 第5题:

    Given that c is a reference to a valid java.io.Console object,which two code fragments read a line of textfrom the console?()

    • A、String s = c.readLine();
    • B、char[] c = c.readLine();
    • C、String s = c.readConsole();
    • D、char[] c = c.readConsole();
    • E、String s = c.readLine("%s", "name ");

    正确答案:A,E

  • 第6题:

    多选题
    Which two security policy actions are valid?()
    A

    deny

    B

    discard

    C

    reject

    D

    close


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

  • 第7题:

    多选题
    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:


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

  • 第8题:

    多选题
    Which two declarations prevent the overriding of a method? ()
    A

    Final void methoda(){}

    B

    Void final methoda(){}

    C

    Static void methoda(){}

    D

    Static final void methoda(){}

    E

    Final abstract void methoda(){}


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

  • 第9题:

    多选题
    Which two valid declarations of a char?()
    A

    Char ch = “a”;

    B

    Char ch = ‘/’ ‘;

    C

    Char ch = ‘cafe’;

    D

    Char ch = “cafe”;

    E

    Char ch = ‘/ucafe’;

    F

    Char ch = ‘/u10100’;

    G

    Char ch = (char) true;


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

  • 第10题:

    多选题
    Which two are valid declarations within an interface definition?()
    A

    void methoda();

    B

    public double methoda();

    C

    public final double methoda();

    D

    static void methoda(double d1);

    E

    protected void methoda(double d1);


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

  • 第11题:

    多选题
    Which two multicast modes are valid options for use with Ethernet bridging on a mesh AP?()
    A

    mesh bridge in

    B

    regular

    C

    bi-directional bridge

    D

    in

    E

    out


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

  • 第12题:

    Given that c is a reference to a valid java.io.Console object, which two code fragments read a line of text from the console?()

    • A、String s = c.readLine();
    • B、char[ ] c = c.readLine();
    • C、String s = c.readConsole();
    • D、char[ ] c = c.readConsole();
    • E、String s = c.readLine("%s", "name ");
    • F、char[ ] c = c.readLine("%s", "name ");

    正确答案:A,E

  • 第13题:

    Which two multicast modes are valid options for use with Ethernet bridging on a mesh AP?()

    • A、mesh bridge in
    • B、regular
    • C、bi-directional bridge
    • D、in
    • E、out

    正确答案:B,D

  • 第14题:

    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

  • 第15题:

    Which two are valid IS-IS PDU types?()

    • A、broadcast hellos
    • B、Level 1 LAN hellos
    • C、Point-to-point hellos
    • D、Level 2 point-to-point hellos

    正确答案:B,C

  • 第16题:

    多选题
    Which two are valid locking levels that are used by transactions in an Oracle database?()
    A

    row level

    B

    block level

    C

    object level

    D

    schema level

    E

    database level


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

  • 第17题:

    多选题
    A JavaBeans component has the following field:   11. private boolean enabled;   Which two pairs of method declarations follow the JavaBeans standard for accessing this field?()
    A

    A

    B

    B

    C

    C

    D

    D


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

  • 第18题:

    多选题
    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;


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

  • 第19题:

    多选题
    Which two are valid and equivalent?()
    A

    <%! int i; %>

    B

    <%= int i; %>

    C

    <jsp:expr>int i;</jsp:expr>

    D

    <jsp:scriptlet>int i;</jsp:scriptlet>

    E

    <jsp:declaration>int i;</jsp:declaration>


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

  • 第20题:

    多选题
    Which three are valid declarations of a float? ()
    A

    Float foo = -1;

    B

    Float foo = 1.0;

    C

    Float foo = 42e1;

    D

    Float foo = 2.02f;

    E

    Float foo = 3.03d;

    F

    Float foo = 0x0123;


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

  • 第21题:

    多选题
    public class OuterClass {   private double d1 1.0;   //insert code here   }   You need to insert an inner class declaration at line2. Which two inner class declarations are valid?()
    A

    static class InnerOne {  public double methoda() {return d1;}  }

    B

    static class InnerOne {  static double methoda() {return d1;}  }

    C

    private class InnerOne {  public double methoda() {return d1;}  }

    D

    protected class InnerOne {  static double methoda() {return d1;}  }

    E

    public abstract class InnerOne {  public abstract double methoda();  }


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

  • 第22题:

    多选题
    Which two options are valid WAN connectivity methods?()
    A

    PPP

    B

    WAP

    C

    DSL

    D

    Ethernet

    E

    L2TPv3


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