Chemistry, asked by sathish2568, 6 months ago

Give the output of the following program segment:

double x = 2.9, y = 2.5;

System.out.println(Math.min(Math.floor(x),y));

System.out.println(Math.max(Math.ceil(x),y));​

Answers

Answered by DARKNIGHTKING
2

Answer:

(a) Primitive data type: int

Composite data type: Class

Similar questions
Math, 6 months ago