A cam shaft having a cam piece disposed on a locking member or plurality of locking members provided on a shaft at predetermined positions. A recess or recesses formed in the cam piece align with and engage the locking members disposed on the shaft. The cam piece is secured to the shaft by a resin injected into and around the recess such that the cam piece is integrally fixed on the shaft when the resin hardens.