9. Oop-Class A has m1 metthode Class B has m1 metthode and
C is the calss that inharits A class, A class inharits B
class. If Object dim c as new A() c.m1(), Tell me which
mettode of class will call
Answer Posted / amit sinha
If ClassA has m1 method, ClassB has also m1 method. ClassC
inheriting classA and ClassA inheriting ClassB then
ClassA a = new ClassC()
a.m1 will call ClassA m1 method not of ClassB. but is
ClassA don't have m1 then a.m1 will call ClassB m1 method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain about cookie less session state? : .NET Architecture
What is .net viewstate?
What's the difference between an application and a program?
Explain domestic architecture artifacts? : Dot net architecture
What is .net mobile images control. : Microsoft dot net mobile
How to improve the cache performance? : .NET Architecture
Explain Intermediate Language?
how to change the application name?
I want to create a project like google maps how can we do that with atlas?
How can we integrate atlas with web services?
how we can fire event in databound column in datagrid without using button?
What is the difference between absolute expiration and sliding-time expiration?
where should I put this information then?
Explain cache? : Dot net architecture
What is the difference between machine config vs. Web config : Dot net architecture