// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.Currency;
import java.util.Locale;

public class AllCurrencies {
    public static void main(String[] args) {
        for(Locale loc : Locale.getAvailableLocales()) {
            if(!loc.getCountry().equals("")) {
                System.out.println(loc.getDisplayName() + " : " + loc.getDisplayCountry() + " : " + Currency.getInstance(loc).getDisplayName());
            }
        }
    }
}
