單項(xiàng)選擇題

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.

微信掃碼免費(fèi)搜題