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
πŸ’¬ Discuss
βœ… Correct Answer: (A) import java.lang.math
Explanation: The correct syntax to import the math library in java is:

import java.lang.math
Explanation by: Team MCQ Buddy
The correct syntax to import the math library in java is:

import java.lang.math

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
361
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
82%
Success Rate