The language Q has the following properties - (1) ABC is the base word. (2) If C immediately follows B, then C can be moved to the front of the code word to generate another word. Which on of the following is a code word in language Q ?
A. CAB
B. BCA
C. AAA
D. ABA
E. CCC