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 B.shake hands with all the passengers C.shake hands with the person he knows D.behave like an Englishman