Statement I Among all the rectangles of the given perimeter, the square has the largest area. Also, among all the rectangles of given area, the square has the least perimeter.
Statement II For x>0,y>0 , if x+y=constant , then xy will be maximum for y=x and if xy=constant , then x+y will be minimum for y=x .