Answer:
A. Correct.
Step-by-step explanation:
The given sentence is-
I like apples; however, I do not like bananas.
Now, considering the sentence, there are two independent clauses that are joined by the conjunctive adverb "however". This "however" is not only used to present a contrast in the statements but also join them together to make a complete flow of though. It provides a passage of transition for the two sentences.
Also, whenever any conjunctive adverb is used in a sentence, there should be a semicolon just before the conjunctive adverb.
Thus, the punctuation of the given sentence is correct.