Multiple Choice
When using the method System.out.printf( ) ,what is the purpose of the %d format code?
A) For printing a double
B) For printing a float
C) For printing a String
D) For printing an int
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: Which of these expressions is illegal in
Q8: What is wrong with this loop? How
Q9: If d is a double and i
Q10: Which is not a primitive type in
Q11: What is the meaning of the declaration:
Q13: The following code attempts to find the
Q14: In Java,when we write an if-statement of
Q15: If s1 = "dog" and s2 =
Q16: Suppose a,b and c are the lengths
Q17: Why does the Java statement System.out.println("answer =