Whoops, I was thinking in the wrong units of measurement.
As Accursed says, Nimitz is better in every aspect. It has MISSILES designed for destroying ships, and they have much further range and accuracy, plus damage, than a cannon shell. That's kinda why out navy barely uses cannons anymore...