Exception on using Locale.ENGLISH with a Currency Object
<p>I was wondering why this Java program is throwing an exception when I try to use Locale.ENGLISH with a Currency Object. Can anybody help me??</p>

<pre><code>package pr.javautility.TimerAndCurrency;

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

public class CurrencyDemo {

/**
 * @param args
 */
public static void main(String[] args) {
    // TODO Auto-generated method stub
    Currency c;
    c=Currency.getInstance(Locale.ENGLISH);
    System.out.println("Symbol used is " + c.getSymbol());
    System.out.println("Default fractional digits "
            + c.getDefaultFractionDigits());
}

}
</code></pre>

<p>I live in India, by the way.</p>
