Statement I: Here no information is given about AB, so it is not sufficient to find the answer.
Statement II: The diameter of the circle is CD and the AB is the side of the square inscribed in the circle. So the CD will be diagonal of the square. Hence CD will be greater than AB.
Therefore statement II is sufficient.