Locale setDefault(Locale.Category, Locale) Method in Java with Examples
The setDefault(Locale.Category cate, Locale newLoc) method of Locale class in Java is used to set the default locale for this instance of the JVM or the Java Virtual machine and this in no way affects the locale host. Syntax: public static void setDefault(Locale.Category cate, Locale newLocale) Para