The correct answer is B. They were both isolationist and limited contact with outsiders.
Japan is known for its isolationist nature which lasted for a very long time, but Ming China also employed that technique - both countries wanted nothing to do with the outside world for a very long time. A is incorrect because Japan was victorious in their war against the Mongols; C is incorrect because shoguns were Japanese rulers and had nothing to do with China; daimyos ruled only in Japan and had nothing to do with Sunni Islam - Japan is predominantly a Buddhist/Shinto country.