How do you know when a number is divisible by 6?

A. when the number in one's digit is even
B. when the number is divisible by 4
C. when the last three digits are divisible by 8
D. when the number is even AND is divisible by 3.