Given the code fragment: (Exhibit) You want to display the value of currency as $100.00. Which code inserted
Given the code fragment:You want to display the value of currency as $100.00.Which code inserted on line 1 will accomplish this? A. NumberFormat formatter = NumberFormat.getCurrencyInstance(locale); B. NumberFormat formatter = NumberFormat.getInstance(locale).getCurrency(); C. NumberFormat formatter = NumberFormat.getCurrency(locale); D. NumberFormat formatter = NumberFormat.getInstance(locale); Correct Answer: B