试题详情
单项选择题 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.

  • A
  • 关注下方微信公众号,在线模考后查看

热门试题