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
Published on 05-Feb-2018 20:34:11
Advertisements