How did China change as a result of European imperialism in the late 19th century?

A.China rapidly industrialized in hopes of competing with European rivals.
B.China's nationalist government collapsed after a war with European armies.
C.China lost its ability to regulate trade with European countries.
D.China's leaders forced all Europeans to flee the country or risk execution.