A.C. generators or alternators (as they are usually called) operate on the same fundamental principles of electromagnetic induction as D.C. Generators.
Alternating voltage may be generated by rotating a coil in the magnetic field or by rotating a magnetic field within a stationary coil.