Test.java Source code

Java tutorial

Introduction

Here is the source code for Test.java

Source

import java.util.Currency;
import java.util.Locale;
import java.util.Set;

public class Test {

    public static void main(String[] args) {
        Set<Currency> currencies = Currency.getAvailableCurrencies();
        for (Currency currency : currencies) {
            System.out.println("" + currency.getDisplayName() + " - " + currency.getDisplayName(Locale.GERMAN)
                    + " - " + currency.getNumericCode());
        }

    }
}