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
How does .net remoting work?
Can you explain update progress control?
What is difference between Desktop, Client Server & Web based applications?
What is .net mobile automatic paging? : Microsoft dot net mobile
What is the problem with .net generics?
How is the using() pattern useful? What is idisposable?
Define cache? : Dot net architecture
Explain .net mobile selectionlist control? : Microsoft dot net mobile
question related to table havi colspan and row span
What is Video Streaming in .net??
What is the difference between metadata and menifest ?
Differences between VS 2005, 2008 and 2010 ?
Define pipelining? : Dot net architecture
What are relation objects in dataset?
What size is a .net object?