How does VB.NET/C# achieve polymorphism?
Answer Posted / srinivas
1. function overloading,
2. Runtime polymorphism --Using Interface reference,
EX:
interface name I ,abstract Method();
implimenting classes A,B
ref I;
objA= new A();
objB= new B();
runtime
objA=I
objA.Method();
objB=I;
objB.Method();
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is asp.net response object?
Can you change a Master Page dynamically at runtime?
How can you make sure that web api returns json data only?
What is the function used for removing an event listener?
What is the request flow used for asp.net mvc framework? : asp.net mvc
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
Which of the following .NET framework supports Web API?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
What is session authentication?
How can we make sure that Web API returns JSON data only?
What is the part of url?
Are there resources online with tips on asp to asp.net conversions?
What is asp.net caching?
List some of the important session state modes of asp.net.
Can we have 2 web config files?