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

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

How does .net remoting work?

1081


Can you explain update progress control?

932


What is difference between Desktop, Client Server & Web based applications?

1047


What is .net mobile automatic paging? : Microsoft dot net mobile

983


What is the problem with .net generics?

1069


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

943


Define cache? : Dot net architecture

952


Explain .net mobile selectionlist control? : Microsoft dot net mobile

977


question related to table havi colspan and row span

2261


What is Video Streaming in .net??

971


What is the difference between metadata and menifest ?

915


Differences between VS 2005, 2008 and 2010 ?

1005


Define pipelining? : Dot net architecture

1015


What are relation objects in dataset?

982


What size is a .net object?

1034