हिंदी

Which of the following package is needed to find the square root of a number? - Computer Applications

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.05: Introduction to Java - EXERCISES [पृष्ठ ५३]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.05 Introduction to Java
EXERCISES | Q I. 5. | पृष्ठ ५३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×