A

Admin • 828.43K Points
Coach

Q. The correct syntax to import the math library in java is ___.

  • (A) import java.lang.math
  • (B) import math
  • (C) import java.math
  • (D) All of these
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
The correct syntax to import the math library in java is:

import java.lang.math

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.