# Class Locale

java.lang.Object
java.util.Locale

public class Locale extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Locale(String language, String locale)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getCountry()`
  `static Locale`
  `getDefault()`
  `String`
  `getLanguage()`
  `static void`
  `setDefault(Locale l)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Locale

    public Locale(String language, String locale)

- ## Method Details

  - ### getDefault

    public static Locale getDefault()

  - ### setDefault

    public static void setDefault(Locale l)

  - ### getLanguage

    public String getLanguage()

  - ### getCountry

    public String getCountry()