What was feudalism in medieval Japan?

a form of government in which the emperor made all of the laws
a social structure in which the samurai were vassals of the daimyo
a war strategy in which soldiers attacked in waves, showing no fear
a type of economy in which people freely traded with outside empires