Here you can find the source of getDefaultCurrency()
public static Currency getDefaultCurrency()
//package com.java2s; import java.util.Currency; import java.util.Locale; public class Main { public static Currency getDefaultCurrency() { return Currency.getInstance(Locale.getDefault()); }/*from w ww. j a v a 2 s . c om*/ }