Which statement, when inserted at (1), will result in the program throwing an exception when run?
public class Main { public static void main(String[] args) { // (1) INSERT STATEMENT HERE } }
Select the one correct answer.
(i)
(a) will throw a java.util.MissingFormatWidthException. The width is not specified.
(b) will throw a java.util.IllegalFormatPrecisionException. The precision cannot be 0.
The remaining statements will throw a java.util.IllegalFormatConversionException.
The conversion d cannot be used with the specified argument.