Multiple Choice
The class NumberFormat allows you to specify a constant representing which country's currency format should be used.To use this constant you must import:
A) java.util.Locale
B) java.util.Currency
C) java.util.Properties
D) None of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: The statement: System.out.printf"%6.2f",597.7231);displays:<br>A)597.723<br>B)597.72<br>C)000597.72<br>D)None of the above
Q2: What Java package includes the class Scanner?<br>A)awt<br>B)swing<br>C)io<br>D)util
Q3: What do the format specifiers d,f,e,g,s and
Q5: If there is no loss of efficiency
Q6: Valid arguments to the System.out object's println
Q7: The method printf is used the same
Q8: Write Java statements to apply currency formatting
Q9: Efficiency is lost in importing the entire
Q10: What does the following code output? DecimalFormat
Q11: What does the following code output? DecimalFormat