Internationalization

© examsiri.com
Question : 4 of 18
 
Marks: +1, -0
Given:
1. NumberFormat nf = NumberFormat.getInstance();
2. nf.setMaximumFractionDigits(4);
3. nf.setMinimumFractionDigits(2);
4. String a = nf.format(3.1415926);
5. String b = nf.format(2);

Which two statements are true about the result if the default locale is Locale.US? (Choose two.)
Go to Question: