How did Japan try to keep foreign powers at bay? Select all that apply.
A. shut them out completely
B. build up a large military to match any foreigners
C. reform their political system into a government rather than rule by land-owning families
D. adapt to the modern world
E. put China between them and foreign powers as a buffer