Java tutorial
import java.util.Currency; import java.util.Locale; public class Main { public static void main(String args[]) { // create a currency for uk locale Locale locale = Locale.UK; Currency curr = Currency.getInstance(locale); // get and print the symbol of the currency System.out.println("Currency symbol is = " + curr.getSymbol(locale)); } }