Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



9. Oop-Class A has m1 metthode Class B has m1 metthode and C is the calss that inharits A class, A..

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

9. Oop-Class A has m1 metthode Class B has m1 metthode and C is the calss that inharits A class, A..

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

More Dot Net AllOther Interview Questions

difference between page init an page load

1 Answers   PCS,


How many types of assemblies are there in the visual studio.net?

1 Answers   Six Sigma,


What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile

0 Answers  


what is a required field validation control?

2 Answers   Six Sigma,


How to call .NET Web service from Java Appl. & Why ?

1 Answers  


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

0 Answers  


What is Ienumerable

1 Answers  


what is a namespace?how they are classified?write a program which contains class,object,inheritance?

0 Answers   Six Sigma,


how to manage session in webgarden ?

3 Answers   Binary Logics, Ness Technologies,


Describe the Managed Execution Process in .NET?

0 Answers   InfoAxon Technologies,


how u maintain data while navigating one page to another?

2 Answers  


How to delete the duplicate records in a table using sql server

4 Answers  


Categories