Internationalization Localization Question:

Explain Locale in Java?

Internationalization Localization Interview Question
Internationalization Localization Interview Question

Answer:

Locale represents languages and cultural preferences of a geographic area. The locale class has 2 constructors such as

locale(string Language, string Country)
locale(string Language, string Country, string variant)


Previous QuestionNext Question
What is Java internationalization and Java localization?Do you know what is resource bundles in Java?