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
What are the types of application software?
server.transfer limitation ?
Explain dma? : .NET Architecture
What is .net transaction?
What are library functions?
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.
State and explain about microsoft.net?
What is Video Streaming in .net??
what are login controls?
Explain the five stages in a dlx pipeline? : Dot net architecture
Explain cache memory? : .NET Architecture
How does an appdomain get created?
What is msil, and why should my developers need an appreciation of it if at all?
What is a service contract, operation contract and data contract?
Explain domestic architecture artifacts? : .NET Architecture