About Question enthuware.ocpjp.v7.2.1450 :
Posted: Sat Mar 15, 2014 5:17 pm
Q: Identify correct statements about i18n.
A: Using default locale for NumberFormat and DateFormat automatically ensures that the formatted text will be localized to the location setting of the machine on which the code is run.
This is not completely true because the default locale can be changed
* by using VM arguments: -Duser.language=en
* and by setting it in the code: Locale.setDefault(new Locale("en"));
A: Using default locale for NumberFormat and DateFormat automatically ensures that the formatted text will be localized to the location setting of the machine on which the code is run.
This is not completely true because the default locale can be changed
* by using VM arguments: -Duser.language=en
* and by setting it in the code: Locale.setDefault(new Locale("en"));