Solved

Which One of the Following Statements Displays the Output as 54321.00

Question 49

Multiple Choice

Which one of the following statements displays the output as 54321.00?


A) System.out.printf("%8.2f", 54321.0) ;
B) System.out.printf("%8,2f", 54321.0) ;
C) System.out.printf(",8.2f", 54321.0) ;
D) System.out.printf("%8.00f", 54321.0) ;

Correct Answer:

verifed

Verified

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

Related Questions