what will be the following function return when executed
I) int p=Math.abs(Math.min(-61,-79));
Answers
Answered by
0
Answer:
Output- 61(int)
Explanation:
- Math.min is used to return a minimum value in integer type i.e., -16
- Math.abs returns absolute value in int i.e., 16
Hope it helps u ☺️
Answered by
1
Answer:
Explanation:
int p=Math.abs(Math.min(-61,-79));
p=79
Attachments:
Similar questions