Eligibility for the NBA draft

The NBA draft is an annual event in which the 30 franchises in the National Basketball Association select new players for their teams. Eligibility rules for prospective players have changed several times during the history of the league. No player may sign with the NBA until they are 19 years or older. The rule has produced one-and-done players that play college basketball for one year before declaring for the draft.

Question: do you have to go to college to play nba
Answer: no