Step 1: Understanding the Concept:
Sex-linked genes are located on the sex chromosomes (specifically the X chromosome in *Drosophila*).
Linkage groups correspond to physical chromosomes, and genetic recombination behaves differently in male and female *Drosophila*.
Step 2: Detailed Explanation:
Let us evaluate each of the statements:
- Statement (A) and (D): Since both genes A and B are sex-linked, they are located on the same X chromosome.
Genes located on the same physical chromosome are physically linked and belong to the same linkage group.
Therefore, statements (A) and (D) are correct.
- Statement (B): If two genes on the same chromosome are located far apart (e.g., at opposite ends of the chromosome), crossing over will occur between them in almost every meiosis.
This results in a maximum recombination frequency of $50\%$, making them appear genetically unlinked despite being physically on the same chromosome.
Therefore, statement (B) is correct.
- Statement (C): In *Drosophila melanogaster*, male flies do not undergo meiotic crossing over (achiasmatic meiosis).
Genetic recombination and crossing over occur exclusively in females.
Therefore, the statement that they "can recombine only in males" is incorrect.
Thus, only statements (A), (B), and (D) are correct.
Step 3: Final Answer:
The correct statements are (A), (B), and (D), which corresponds to option (D).