the joke typically places the three characters in a scenario. how each person in the joke reacts to the scenario is then explained in order by person, the final reaction being the punch line, playing up to the stereotype of that nationality. the joke uses the rule of three, the first two characters being used to set up an expectation which is then subverted in some way by the third.