please no spamming
and please correct answer
please solve 13 and 14
Attachments:
Answers
Answered by
1
so answer of question...
13) the option (a) is correct we are assigning the double value into int data type variable..
it's loosy consversion we have been loss our data...
14) now also the option (a) is correct because for Math.random() gives the value in between 0 to 1 where 0(inclusive) to 1 (exclusive) decimal value but as you getting that the probability to come 0.0 is so rear so (c) is also right. .
13) the option (a) is correct we are assigning the double value into int data type variable..
it's loosy consversion we have been loss our data...
14) now also the option (a) is correct because for Math.random() gives the value in between 0 to 1 where 0(inclusive) to 1 (exclusive) decimal value but as you getting that the probability to come 0.0 is so rear so (c) is also right. .
Similar questions
Computer Science,
7 months ago
English,
7 months ago
Computer Science,
7 months ago
CBSE BOARD X,
1 year ago
Math,
1 year ago