A. battery B. permanent magnet D.C. generator C. A.C. generator D. any of the above