Java tutorial
import java.util.Currency; public class Main { public static void main(String args[]) { // create a currency with eur code Currency curr = Currency.getInstance("EUR"); // get currency code and print it String curCode = curr.getCurrencyCode(); System.out.println("Currency Code is = " + curCode); } }