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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?