हिंदी

Predict the output in the following case: Math.sqrt (−36) - Computer Applications

Advertisements
Advertisements

प्रश्न

Predict the output in the following case:

Math.sqrt (−36)

एक पंक्ति में उत्तर

उत्तर

The square root of a negative number can't be determined. Hence, the output will be NaN.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.06: Input in Java - Review Insight [पृष्ठ ६५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.06 Input in Java
Review Insight | Q 2. (a) | पृष्ठ ६५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×