Internationalization
85. What is Locale in Java?
A Locale object represents a specific geographical, political, or cultural region. It is used to locale-sensitive operations in Java. It helps is following the local conventions of a country, native or region. These conventions can be for formatting the dates, money, numbers etc.
86. How will you use a specific Locale in Java?
To use a specific Locale, we need to load that Locale. We can use ResourceBundle.getBundle("Locale.UK")
method to load a Locale.