Question: which class in japanese society followed the code of bushido
Answer: Bushidō ( 武士道 , `` the way of warriors '' ) is a Japanese collective term for the many codes of honour and ideals that dictated the samurai way of life , loosely analogous to the concept of chivalry in Europe .