A virus is a piece of code that is developed to disrupt the normal performance of a computer system. Infections can spread out quickly and cause substantial damage to both specific computers and networks. Some viruses are safe, while others can erase files, corrupt information, or even damage hardware.
A trojan horse is a piece of code that is designed to disrupt the regular functioning of a computer system. Infections can spread out rapidly and cause substantial damage to both specific computers and networks. Some viruses are harmless, while others can erase files, corrupt data, or perhaps damage hardware.