Question 2
Which two codes correctly represent a standard language locale code? (Choose two.)
Correct answer: BC
Explanation:
Language codes use lowercase. The following examples create Locale objects for the French language in Canada, the English language in the U.S. and Great Britain. aLocale = new Locale("fr", "CA"); bLocale = new Locale("en", "US"); cLocale = new Locale("en", "GB"); Reference: https://docs.oracle.com/javase/tutorial/i18n/locale/create.html
Language codes use lowercase.
The following examples create Locale objects for the French language in Canada, the English language in the U.S. and Great Britain.
aLocale = new Locale("fr", "CA");
bLocale = new Locale("en", "US");
cLocale = new Locale("en", "GB");
Reference: https://docs.oracle.com/javase/tutorial/i18n/locale/create.html