Below program prints the Currency symbol given the ISO 4217 currency code.
import java.util.*; public class Currency{ public static void main(String args[]
If someone needs it the other way round (for example € -> EUR)
String currency = €; String currencyCode = ""; for (Currency c : Currency.getAvailableCurrencies()) { if (c.getSymbol().equals(currency)) { currencyCode = c.toString(); } }