getDefault()
static Locale getDefault()
- Returns the default locale
import java.util.Locale;
public class Main {
public static void main(String[] av) {
Locale l = Locale.getDefault();
System.out.println("Today's Locale is " + l);
}
}