4. Let the equation $2 x^{2}-(a+1) x+a+3=0$ have two roots whose difference is 1, then the value of $a$ is ( ).
(A) 9 and -3.
(B) 9 and 3.
(C) -9 and 3.
(D) -9 and -3.
A

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.