Question: which class in japanese society followed the code of bushido?
Answer: samurai