Which is a factory method from the java.text.NumberFormat class?
A.
format (long number)
B.
getInstance()
C.
getMaxiraumFractionDigits ()
D.
getAvailableLocales ()
E.
isGroupingUsed()
Explanation:
To obtain a NumberFormat for a specific locale, including the default locale, call one
ofNumberFormat’s factory methods, such as getInstance().
Reference:java.textClass DecimalFormat
B