Explain how to achieve polymorphism in vb.net?
Answer / Pradeep Kumar Verma
"Polymorphism can be achieved in vb.net through inheritance and method overriding.
1. Inheritance: A derived class inherits properties and methods from a base class.
2. Method Overriding: If a derived class has a method with the same signature as a method in the base class, it can be overridden to provide a specific implementation.
3. Runtime Polymorphism: This occurs when an object's actual type is determined at runtime, allowing methods to behave differently based on the object's type."n
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain redim keyword?
What is the DIfference between Friend and Protected Friend?
6 Answers CTS, Sykes Enterprises, TCS,
code for export,import,save,update,delete ?
Explain private assembly?
what are the types of threading models in VB.net ?
What are the different types of a stream?
Which is the base class for all the classes in .net framework?
How a base class method is hidden?
What is the Difference between Web User Control and Web Custom Control?
Explain option explicit?
What do you mean by serialization and deserialization?
What is enumerator?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)