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: 2019-07-30T22:30:20+05:30

195 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements