Computer Science, asked by Anonymous, 7 months ago

Q34. find the data type of p, int p = Math.abs(Math.max(91,-123)) .​

Answers

Answered by jeromeseejo73
0

Answer:

int p = Math.abs(Math.max(91,-123));

you have declared the datatype as int  and during the calculation no implicit type casting is going to happen,so the datatype of p is int

Explanation:

Answered by snehbharatkumarpatel
0

Answer:

int p = Math.abs(Math.max(-91, -97);

Similar questions