CBSE BOARD XII, asked by Deeksha31, 1 year ago

in java-mysql functions, what will be the output if we pass a -ve no. in sqrt ( )

Answers

Answered by gurman131
1
it will give the square root of the number but the answer would be in the form of decimal as 4.0 etc as the data type to this function is double.

Deeksha31: it will not give error????
gurman131: no
Similar questions