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

Can I create my own context attributes?

977


How do we do authentications using atlas?

979


What is the difference between an event and a delegate?

999


Explain the Lapsed Listener problem in .net

1191


What is the application frame host?

959


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure. : Dot net architecture

964


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

919


What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture

1139


Explain dma? : .NET Architecture

958


What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture

968


Explain the use of virtual, sealed, override, and abstract.

995


which is the institute in hyderabad for providing the live project industry training

2807


how we can fire event in databound column in datagrid without using button?

1041


What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile

940


What is the use of CLR in .NET?

1037