Computer Science, asked by vadivelamsavalli, 9 months ago

what will be the following function return when executed
I) int p=Math.abs(Math.min(-61,-79));​

Answers

Answered by charita24
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 aeramoonchild
1

Answer:

Explanation:

int p=Math.abs(Math.min(-61,-79));​

p=79

Attachments:
Similar questions