Statement (I): Graph between potential energy of spring versus the extension or compression of the spring is a straight line.
Statement (II): Potential energy of a stretches or compressed spring is directly proportional to square of extension or compression.