Identify the correct statements (Choose two):
* Language is always necessary within a locale.
* The country is always a mandatory component in a locale.
* The country (region) field is case insensitive,
#java #certificationquestion #ocp
https://www.udemy.com/course/ocp-oracle-certified-professional-java-developer-prep/?referralCode=54114F9AD41F127CB99A
Locale object represents a specific geographical, political, or cultural region.
* Language is always necessary within a locale.
There are three constructors for Locale:
Locale(String language)
Locale(String language, String country)
Locale(String language, String country, String variant)
And you note that you always need the language.
* The country (region) field is case-insensitive
Internationalization Oracle Java trail๐ https://docs.oracle.com/javase/tutorial/i18n/