Answer:
Black code were basically laws created to ensure white supremacy. This prevention of freed men (former black slaves) from having certain occupations without restrictions, would be considered Black Code since it is limiting their rights unfairly (particularly compared to white men of the same qualifications).