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

Describe the Managed Execution Process in .NET?

920


Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile

880


what are the events for a form?

2054


what is sessions and cookies take one example simple way to understand

2284


6. Wcf- what is SOA

2294


What is the mesi? : Dot net architecture

974


Explain write back and write through caches? : .NET Architecture

864


What is .net mobile lists. : Microsoft dot net mobile

906


Explain different pipelining hazards and how are they eliminated? : Dot net architecture

875


How will you do windows authentication and what is the namespace?

1016


Explain the types of memory management? : Dot net architecture

906


What is an asssembly qualified name? Is it a filename? How is it different?

896


how to make and display a form without title bar?

1887


What is the application frame host?

911


Explain about .net garbage collector?

918