Answer: It can be DNA or RNA.
Step-by-step explanation:
A virus is a parasite which cannot reproduce by itself instead it uses the machinery of host cell to produce it's own progeny viruses.
Virus can be have either RNA or DNA as a genetic material. The either of the nucleic acid may be single stranded or double stranded. A virus particle will have an outer protein coat which is encloses the genetic material.