NumberFormatnf=NumberFormat.getInstance();nf.setMaximumFractionDigits(4);nf.setMinimumFractionDigits(2);Stringa=nf.format(3.1415926);Stringb=nf.format(2);WhichtwoaretrueabouttheresultifthedefaultlocaleisLocale.US?()A.Thevalueofbis2.B.Thevalueofais3.14.C.T

题目

NumberFormatnf=NumberFormat.getInstance();nf.setMaximumFractionDigits(4);nf.setMinimumFractionDigits(2);Stringa=nf.format(3.1415926);Stringb=nf.format(2);WhichtwoaretrueabouttheresultifthedefaultlocaleisLocale.US?()

A.Thevalueofbis2.

B.Thevalueofais3.14.

C.Thevalueofbis2.00.

D.Thevalueofais3.141.

E.Thevalueofais3.1415.

F.Thevalueofais3.1416.

G.Thevalueofbis2.0000.


相似考题
更多“NumberFormatnf=NumberFormat.getInstance();nf.setMaximumFractionDigits(4);nf.setMinimumFrac ”相关问题
  • 第1题:

    WhichitemisthecorrectmatchingrelationshipsassociatedwithIKEPhase?()

    A.IKEPhase1-P4S1andP4S4,IKEPhase2-P4S2,P4S3andP4S5

    B.IKEPhase1-P4S2andP4S4,IKEPhase2-P4S1,P4S3andP4S5

    C.IKEPhase1-P4S2andP4S3,IKEPhase2-P4S1,P4S4andP4S5

    D.IKEPhase1-P4S1andP4S2,IKEPhase2-P4S3,P4S4andP4S5


    参考答案:A

  • 第2题:

    以下能级能量从低到高排列的是()

    A.4s<4p<4d<4f

    B.4s>4p>4d>4f

    C.4s>4d>4p>4f

    D.4s<4d<4p<4f


    参考答案:A

  • 第3题:

    要输出结果4*4=16,下列语句不正确的是()

    A.printf("4*4=16n");

    B.printf("4*4=%d",16);

    C.printf("4*4=%d",4*4);

    D.printf("4*4=%d,16");


    A

  • 第4题:

    WhichstatementbestdescribestherelationshipsbetweenAAAfunctionandTACACS+,RADIUSbasedontheexhibitshown?()

    A.TACACS+-P4S1andP4S4RADIUS-P4S2andP4S3

    B.TACACS+-P4S2andP4S4RADIUS-P4S1andP4S3

    C.TACACS+-P4S1andP4S3Actual RADIUS-P4S2andP4S4

    D.TACACS+-P4S2andP4S3RADIUS-P4S1andP4S4


    参考答案:B

  • 第5题:

    E4单元格的公式是“=$B$4*$C$4”如将E4单元格中的公式复制到G4,则G4中的公式为()。

    A=$D$4*$E$4

    B=$B$4*$C$4

    C=B4*C4

    D=D4*E4


    B