单项选择题
System.out.format(”Pi is approximately %d.”, Math.PI);
What is the result?()
A. Compilation fails.
B. Pi is approximately 3.
C. Pi is approximately 3.141593.
D. An exception is thrown at runtime.
点击查看答案&解析
相关考题
