Advertisements
Advertisements
प्रश्न
Which of the following package is needed to find the square root of a number?
पर्याय
java.text
java.math
java.lang
None
MCQ
उत्तर
java.lang
Explanation:
The java.lang package includes the Math class, which provides various mathematical functions, including the sqrt() method for calculating the square root of a value.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?