✏️ Explanatory Question Give 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)); 👁 116 Views 📘 Detailed Answer 🟢 Easy 🔗 Share