EASY SOLUTION IN JAVA
Code


# Code
```java []
class Solution 
{
    public int areaOfMaxDiagonal(int[][] d) 
    {
        int l=d.length;
        double mdi=0;
        int mar=0;
        for(int i=0;i<l;i++)
        {
            int ar=d[i][0]*d[i][1];
            double di=Math.sqrt((d[i][0]*d[i][0])+(d[i][1]*d[i][1]));
            if(mdi<di)
            {
                mdi=di;
                mar=ar;
            }
            if(di==mdi&&mar<ar)
            {
                mar=ar;
            }
        }
        return mar;
    }
}
```
['Array', 'Java']