Search This Blog

Monday, November 3, 2025

Java Math API - 3

What is the output of the following code?

1. public class MathDemo2 {

2.     public static void main(String[] args) {

3.         System.out.println(Math.max(29,Math.min(93,Math.min(54,Math.max(47,45)))));

4.     }

5. }

6.  


Created by Nancy K.A.N.
@23:31 03-Nov-2025