找考题网-背景图
单项选择题

Given:  
12. System.out.format("Pi is approximately %d.", Math.PI);  
What is the result?()

A. An exception is thrown at runtime.
B. Pi is approximately 3.
C. Pi is approximately 3.141593.
D. Compilation fails.

热门试题