The correct answer is D. no article.
The word "black" and "white" are both adjectives that describe the color of the dog. Adjectives do not need articles in front of them.
The word "a" is used before singular nouns that are not specific. For example, "I saw a dog."
The word "an" is used before singular nouns that start with a vowel sound. For example, "I saw an apple."
The word "the" is used before singular nouns that are specific. For example, "I saw the dog that ate my homework."
In the sentence "I have a black and white dog," the dog is not specific. It could be any black and white dog. Therefore, we do not need to use an article.