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
Describe the Managed Execution Process in .NET?
Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
what are the events for a form?
what is sessions and cookies take one example simple way to understand
6. Wcf- what is SOA
What is the mesi? : Dot net architecture
Explain write back and write through caches? : .NET Architecture
What is .net mobile lists. : Microsoft dot net mobile
Explain different pipelining hazards and how are they eliminated? : Dot net architecture
How will you do windows authentication and what is the namespace?
Explain the types of memory management? : Dot net architecture
What is an asssembly qualified name? Is it a filename? How is it different?
how to make and display a form without title bar?
What is the application frame host?
Explain about .net garbage collector?