Programming Languages and OOP Concepts

Casual Mode - Take your time!

1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice

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

  1. Compilation fails
  2. Pi is approximately 3
  3. Pi is approximately 3.141593
  4. An exception is thrown at runtime
Change Mode