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
server.transfer limitation ?
Explain dma? : Dot net architecture
Can you Explain
What is cache coherency and how is it eliminated? : Dot net architecture
What is .net mobile input validation. : Microsoft dot net mobile
What are relation objects in dataset?
What is .net mobile automatic paging? : Microsoft dot net mobile
what is tracing? Where it used?
Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
define cache memory? : Dot net architecture
Explain what does the term "green architecture" mean? : .NET Architecture
what are the fundamental and common properties of .net controls?
What is parallel computing?
how to add list of items in a web application and win application?
What is difference between .net and visual studio?