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


Please Help Members By Posting Answers For Below Questions

What are the types of application software?

747


server.transfer limitation ?

2000


Explain dma? : .NET Architecture

742


What is .net transaction?

717


What are library functions?

747


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.

752


State and explain about microsoft.net?

740


What is Video Streaming in .net??

781


what are login controls?

1610


Explain the five stages in a dlx pipeline? : Dot net architecture

730


Explain cache memory? : .NET Architecture

755


How does an appdomain get created?

756


What is msil, and why should my developers need an appreciation of it if at all?

815


What is a service contract, operation contract and data contract?

739


Explain domestic architecture artifacts? : .NET Architecture

745