Solved

Which Statement Establishes a Currency Decimal Format So That the Variable

Question 26

Multiple Choice

Which statement establishes a currency decimal format so that the variable itemCost is displayed in U.S. dollar format in the following statement? USdollars.format(itemCost) ) ;


A) new USdollars = DecimalFormat("$###,###.##") ;
B) CurrencyFormat USdollars = new CurrencyFormat("$###,###.##") ;
C) DecimalFormat USdollars = new DecimalFormat("$###,###.##") ;
D) new USdollars = CurrencyFormat("$###,###.##") ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents