One similarity in the practice of bushido among the Japanese samurai and chivalry among the medieval knights in Europe is that both groups
a. required the worship of many gods
b. promoted cultural exchanges with other peoples
c. improved the lives of the peasants
d. provided a moral code of behavior for its members