What is the resultant data type of the
following mathematical expression, where
a is of double, b, c and d are of int type?
a + b*c-d
Answers
Answered by
0
Answer:
In Java , you need to type cast double into int to get answer in int or type cast int into double to get answer in double.
Explanation:
Similar questions