可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

11. double input =&ens


11. double input = 314159.26;  12. NumberFormat nf= NumberFormat.getInstance(Locale.ITALIAN);  13. String b;  14. //insert code here  Which code, inserted at line 14, sets the value of b to 3 14.159,26?() 

  • A b = nf.parse( input);
  • B b = nf.format( input);
  • C b = nf.equals( input);
  • D b = nf.parseObject( input);
参考答案
参考解析:
分类:SCJP程序员认证考试题库