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 / taipi88

If Class A inherits from Class B, but has a own Method M1,
M1 from Class A overrides M1 of Class B.

If Class A only has a M1 Method by inheriting from Class B, B.M1 will Be
called. Class C doesn't Play any Roll in this scenario.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats new features in Visual Studio 2012?

759


How is the using() pattern useful? What is idisposable?

721


What is an interrupt? : .NET Architecture

689


Explain pipelining? : .NET Architecture

760


what are the fundamental and common properties of .net controls?

1872


What does this do? Gacutil /l | find /i "corillian"

828


Explain difference between machine config vs. Web config? : .NET Architecture

759


What are the options provived by vss to the user? how it will help us while delevoping application?

2009


What is cookie less session?

803


Define a virtual memory? : Dot net architecture

722


Explain about code access security?

777


Explain the race around condition? : Dot net architecture

683


What is a virtual memory? : Dot net architecture

748


Explain about cookie less session state? : .NET Architecture

776


What are end points, contract, address and bindings?

741