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 the difference between l1 and l2 cache? : .NET Architecture
What's the difference between an application and a program?
What is one way operation?
What is the difference between an event and a delegate?
Explain the difference between state server and sqlserver : Dot net architecture
Explain about continuable exceptions?
Why only boxed types can be unboxed?
difference between data reader and dataset
Describe the Managed Execution Process in .NET?
What is the use of TPL DATAFLOW?
What is cache coherency and how is it eliminated? : Dot net architecture
What is .net mobile images control. : Microsoft dot net mobile
Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile
What is the purpose of Accordian in jquery? Where it can be used?
Explain cache memory? : .NET Architecture