According to the passage, on entering a railway compartment, an overseas visitor is expected to ______.
[A] inquire about the code of behavior in the train
C. shake hands with the person he knows
B. shake hands with all the passengers
D. behave like an Englishman