Which of the following strings could be passed to the Decima
Which of the following strings could be passed to the DecimalFormat constructor to display 12.78 as 12.8%?
a) 000.0
(b) #0.00
(c) ###.#
(d) ##0.0%
could not find the answer
Solution
strings could be passed to the DecimalFormat constructor to display 12.78 as 12.8%?
(c) ###.#
This will convert the 12.78 as 12.8,here 12.78 is the number and the 12.8 is the formatted string.

