Which two statements set the default locale used for formatting numbers, currency, and percentages? (Choose two.)
Which two statements set the default locale used for formatting numbers, currency, and percentages? (Choose two.)
To set the default locale for formatting numbers, currency, and percentages, you need to use the Locale.setDefault method with the appropriate locale and category. Option A uses Locale.setDefault with Locale.Category.FORMAT and the locale 'zh-CN', which correctly specifies both the category and the locale for formatting purposes. Option B uses the same Locale.setDefault method with Locale.Category.FORMAT and the Locale.CANADA_FRENCH locale, which also correctly sets the locale for formatting. Options C, D, and E either lack the Locale.Category.FORMAT specification or use incorrect parameter formats, hence they are not suitable.
B,C is true