阿摩線上測驗 登入

申論題資訊

試卷:104年 - SCJP 151-200#99330
科目:OJCP(SCJP)
年份:104年
排序:0

申論題內容

169. 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? (Choose two.) (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.