What is a Locale class in Java?


The java.util.Locale class object represents a specific geographical, political, or cultural region.

  • An operation that requires a Locale to perform its task is called locale-sensitive and uses the Locale to form information for the user.
  • The locale is a mechanism for identifying objects, not a container for the objects themselves.

Updated on: 30-Jul-2019

115 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements