NumberFormat nf = NumberFormat.getInstance(); nf.setMaximumFractionDigits(4); nf.setMinimumFractionDigits(2); String a = nf.format(3.1415926); String b = nf.format(2); Which statement is true about the result?
The value of b is 2
The value of b is 2.00
The value of a is 3.141
The value of a is 3.1415