Predict the return data type of the following:
float m;
p = m/3 * (Math.pow(4,3));
System.out.println
please answer this question ....
Answers
Answered by
2
Answer:
please give brainlist answer mark if you like it
Explanation:
m/3*(Math.pow(4,3))
⇒ float / int * double
[∵Math.pow returns double]
⇒ float * double
⇒ double
So the return data type of this expression is double.
Answered by
2
Answer:
m/3*(Math.pow(4,3))
⇒ float / int * double
[∵Math.pow returns double]
⇒ float * double
⇒ double
So the return data type of this expression is double.
have an nice day ahead !!!
Similar questions