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

Define cache coherency and how is it eliminated? : Dot net architecture

524


inprocess vs out process session state : Dot net architecture

522


Explain the Lapsed Listener problem in .net

674


Explain 'managed' mean in the .NET context

696


What is cache coherency? : Dot net architecture

493






Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

502


Tell me .net mobile emulators? : Microsoft dot net mobile

559


Explain difference between inprocess vs out process session state? : .NET Architecture

544


Explain hard disk and what is its purpose? : .NET Architecture

532


What is Object Caching in Visual Studio 2010?

602


Explain about metadata?

528


How can we perform data binding in atlas?

524


IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class

1546


Describe the Managed Execution Process in .NET?

541


.Net Frame work arch?

1620