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
what is inheritancy where u required ?
Define cache coherency? : Dot net architecture
Explain about clr?
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
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
Explain about generation?
Explain the purpose of cache? : Dot net architecture
Why only boxed types can be unboxed?
Explain the difference between primary & secondary storage device? : .NET Architecture
Explain difference between state server and sqlserver? : .NET Architecture
What is msil, and why should my developers need an appreciation of it if at all?
How can we integrate atlas with web services?
Tell me .net mobile emulators? : Microsoft dot net mobile
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
Can you explain control extenders?