What is a Locale class in Java?

Java 8Object Oriented ProgrammingProgramming

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.
raja
Updated on 30-Jul-2019 22:30:20

Advertisements