The main statement clearly states that Ravana is either a demon or a hero. He has to be at least
one of the two, and if he is one, he cannot be the other.
$(1) \; \text{CD}$ States that Ravana is neither a demon nor a human.
$(2) \; \text{BA}$ states that Ravana is both demon and hero.
$(3) \; \text{CD}$ States that Ravana is neither a demon nor a human and BA states that Ravana is both demon and hero.Therefore
Both $\text{CD}$ and $\text{BA}$ are logically invalid.
$(4) \; \text{DB}$ states that Ravana is not Hero but is Demon. And $\text{CA}$ states that Ravana is not Demon but is Hero.
Therefore, both $\text{DB}$ and $\text{CA}$ are logically valid.
Hence Option$(4) \; \text{DB}$ and $\text{CA}$ is the Correct choice.