Multiple choice technology web technology

Which of the following is used to achieve Polymorphism in VB.NET?

  1. virtual methods

  2. Overloaded methods

  3. Overridden methods

  4. All the Above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Polymorphism in VB.NET is achieved through method overloading (compile-time polymorphism), virtual methods, and method overriding (runtime polymorphism). Therefore, all of the listed techniques are used to achieve polymorphism.