下列生成的Locale对象为汉语语种相关的是()A、Locale locale=new Locale("ko","");B、Locale locale=new Locale("ja","");C、Locale locale=new Locale("en","US");D、Locale locale=new Locale("zh","");E、Locale locale=new Locale("es","");

题目

下列生成的Locale对象为汉语语种相关的是()

  • A、Locale locale=new Locale("ko","");
  • B、Locale locale=new Locale("ja","");
  • C、Locale locale=new Locale("en","US");
  • D、Locale locale=new Locale("zh","");
  • E、Locale locale=new Locale("es","");

相似考题
参考答案和解析
正确答案:D
更多“下列生成的Locale对象为汉语语种相关的是()A、Locale locale=new Locale("ko","");B、Locale locale=new Locale("ja","");C、Locale locale=new Locale("en","US");D、Locale locale=new Locale("zh","");E、Locale locale=new Locale("es","");”相关问题
  • 第1题:

    安装AWS的操作系统Solaris时,locale应选择()。

    • A、En,ISO8859-1
    • B、En,ISO8859-5
    • C、En,ISO8859-10
    • D、En,ISO8859-15

    正确答案:A

  • 第2题:

    User defined locale files can be stored in which two locations?()

    • A、DRAM
    • B、SDRAM
    • C、CME flash,slot0
    • D、CUE flash,slot0
    • E、TFTP directory specified by cnf-file location command

    正确答案:C,E

  • 第3题:

    Given:   1.d is a valid, non-null Date object   2.df is a valid, non-null DateFormat object set to the current locale    What outputs the current locale’s country name and the appropriate version of d’s date?()

    • A、Locale loc = Locale.getLocale(); System.out.println(loc.getDisplayCountry()+ " " + df.format(d));
    • B、Locale loc = Locale.getDefault(); System.out.println(loc.getDisplayCountry()+ " " + df.format(d));
    • C、Locale loc = Locale.getLocale();System.out.println(loc.getDisplayCountry()+ " " + df.setDateFormat(d));
    • D、 Locale loc = Locale.getDefault();System.out.println(loc.getDisplayCountry()+ " " + df.setDateFormat(d));

    正确答案:B

  • 第4题:

    Which is not a valid locale definition file type?()

    • A、 Language
    • B、 Linguistic sort
    • C、 Calendar
    • D、 Territory
    • E、 Character set

    正确答案:C

  • 第5题:

    Given:   12. NumberFormat nf = NumberFormat.getInstance();   13. nf.setMaximumFractionDigits(4);   14. nf.setMinimumFractionDigits(2);   15. String a = nf.format(3.1415926);   16. String b = nf.format(2);   Which two statements are true about the result if the default locale is Locale.US?()

    • A、 The value of b is 2.00.
    • B、 The value of a is 3.141.
    • C、 The value of a is 3.14.
    • D、 The value of b is 2.0000.
    • E、 The value of a is 3.1415.
    • F、 The value of a is 3.1416.
    • G、 The value of b is 2.

    正确答案:A,F

  • 第6题:

    单选题
    下列选项中不能能获得Locale实例是()
    A

    Locale locale=new Locale();

    B

    Locale locale=new Locale(ch,CH);

    C

    Locale locale=Locale.CHINA;

    D

    Locale locale =request.getLocale();


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

  • 第7题:

    单选题
    Which is not a valid locale definition file type?()
    A

    Language

    B

    Linguistic sort

    C

    Calendar

    D

    Territory

    E

    Character set


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

  • 第8题:

    单选题
    The George Char Broiler Company wants to create its own locale file to accommodate a non-supported German language among its customers from Brunswick. This is the first locale file the company has tried to create. Which tag number will it assign to this locale?()
    A

    0

    B

    1

    C

    U0

    D

    U1

    E

    It is impossible to create a locale with Cisco Unity Express.

    F

    There will be no tag number, since it is only possible to create one locale.


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

  • 第9题:

    多选题
    User defined locale files can be stored in which two locations?()
    A

    DRAM

    B

    SDRAM

    C

    CME flash,slot0

    D

    CUE flash,slot0

    E

    TFTP directory specified by cnf-file location command


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

  • 第10题:

    多选题
    Given: Which two statements are true about the result if the default locale is Locale.US?()
    A

    The value of b is 2.

    B

    The value of a is 3.14.

    C

    The value of b is 2.00.

    D

    The value of a is 3.141.

    E

    The value of a is 3.1415.

    F

    The value of a is 3.1416.

    G

    The value of b is 2.0000.


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

  • 第11题:

    多选题
    Given:   12. NumberFormat nf = NumberFormat.getInstance();   13. nf.setMaximumFractionDigits(4);   14. nf.setMinimumFractionDigits(2);   15. String a = nf.format(3.1415926);   16. String b = nf.format(2);   Which two statements are true about the result if the default locale is Locale.US?()
    A

    The value of b is 2.00.

    B

    The value of a is 3.141.

    C

    The value of a is 3.14.

    D

    The value of b is 2.0000.

    E

    The value of a is 3.1415.

    F

    The value of a is 3.1416.

    G

    The value of b is 2.


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

  • 第12题:

    单选题
    You are drifting in a locale where there is no current.As a rule,your vessel will lie().
    A

    Bow to the wind

    B

    Beam to the wind

    C

    Stern to the wind

    D

    With the wind on the quarter


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

  • 第13题:

    下列选项中不能能获得Locale实例是()

    • A、Locale locale=new Locale();
    • B、Locale locale=new Locale("ch","CH");
    • C、Locale locale=Locale.CHINA;
    • D、Locale locale =request.getLocale();

    正确答案:A

  • 第14题:

    The George Char Broiler Company wants to create its own locale file to accommodate a non-supported German language among its customers from Brunswick. This is the first locale file the company has tried to create. Which tag number will it assign to this locale?()

    • A、0
    • B、1
    • C、U0
    • D、U1
    • E、It is impossible to create a locale with Cisco Unity Express.
    • F、There will be no tag number, since it is only possible to create one locale.

    正确答案:D

  • 第15题:

    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 value of b is 2.
    • B、 The value of a is 3.14.
    • C、 The value of b is 2.00.
    • D、 The value of a is 3.141.
    • E、 The value of a is 3.1415.
    • F、 The value of a is 3.1416.
    • G、 The value of b is 2.0000.

    正确答案:C,F

  • 第16题:

    What is the name of the file that identifies the set of available locale definitions?()

    • A、 locale.def
    • B、 lxdef.ora
    • C、 lx1boot.nlb
    • D、 lx1boot.ora
    • E、 lang.def

    正确答案:C

  • 第17题:

    You are administrator of your company’s network. Your company has offices in New York, Madrid, Paris and Tokyo. A user named Carmen works in the New York office, but she often travels to the Madrid office. Carmen uses the multi-language version of Windows 2000 Professional on her portable computer. She needs to be able to access both an English and Spanish user interface, input locale, and keyboard layout/IME. When Carmen is in the New York office, she logs on to the network by using the Carmen_eng user account. She is given the English user interface, input locale and keyboard layout/IME. When Carmen is in the Madrid office she logs on to the network by using the Carmen_span user account. She is then given the Spanish interface, input locale and keyboard layout/IME. Carmen reports that when she logs on to the network by using the Carmen_eng user account, she is not allowed to add any languages to her computer other than English, which is already installed. What should you do?( )

    • A、Add the Spanish keyboard layout/IME for the Carmen_eng user account profile
    • B、Add the English keyboard layout/IME for the Carmen_span user account profile
    • C、Reconfigure the Group Policy Object for the Carmen_eng user account to allow her to  change the languages on her computer
    • D、Configure the Group Policy Object for the Carmen_span user account to allow her to change  the languages on her computer.

    正确答案:C

  • 第18题:

    单选题
    下列生成的Locale对象为汉语语种相关的是()
    A

    Locale locale=new Locale(ko,);

    B

    Locale locale=new Locale(ja,);

    C

    Locale locale=new Locale(en,US);

    D

    Locale locale=new Locale(zh,);

    E

    Locale locale=new Locale(es,);


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

  • 第19题:

    单选题
    Given:   1.d is a valid, non-null Date object   2.df is a valid, non-null DateFormat object set to the current locale    What outputs the current locale’s country name and the appropriate version of d’s date?()
    A

    Locale loc = Locale.getLocale(); System.out.println(loc.getDisplayCountry()+   + df.format(d));

    B

    Locale loc = Locale.getDefault(); System.out.println(loc.getDisplayCountry()+   + df.format(d));

    C

    Locale loc = Locale.getLocale();System.out.println(loc.getDisplayCountry()+   + df.setDateFormat(d));

    D

     Locale loc = Locale.getDefault();System.out.println(loc.getDisplayCountry()+   + df.setDateFormat(d));


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

  • 第20题:

    单选题
    What is the name of the file that identifies the set of available locale definitions?()
    A

    locale.def

    B

    lxdef.ora

    C

    lx1boot.nlb

    D

    lx1boot.ora

    E

    lang.def


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

  • 第21题:

    单选题
    What is the name of the file that identifies the set of available locale definitions?()
    A

     locale.def

    B

     lxdef.ora

    C

     lx1boot.nlb

    D

     lx1boot.ora

    E

     lang.def


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

  • 第22题:

    单选题
    Which is not a valid locale definition file type?()
    A

     Language

    B

     Linguistic sort

    C

     Calendar

    D

     Territory

    E

     Character set


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

  • 第23题:

    多选题
    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 value of b is 2.

    B

    The value of a is 3.14.

    C

    The value of b is 2.00.

    D

    The value of a is 3.141.

    E

    The value of a is 3.1415.

    F

    The value of a is 3.1416.

    G

    The value of b is 2.0000.


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