How do the major parties select their candidates for president of the United States

A. Party members select their party’s candidate in a single run-off election.
B. Party “bosses”choose their party’s candidate at their party’s nomination convention
C. All registered voters decide which candidates each party should choose in a national primary election
D. After a series of caucuses and primary election, delegates at each party’s nominating convention choose their candidate