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
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 |
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 |
There are so many languages are already existing for developing application.Then what is the need of .net.
Let's say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to .NET ?
How do I write to the application configuration file at runtime?
How many types of languages does .net support? name at least 10-15?
12 Answers Interac, Six Sigma, TechUnity,
What is the difference between machine config vs. Web config : Dot net architecture
Explain about developer benefit from memory management?
What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture
How to improve the cache performance? : .NET Architecture
How to work with Crystal Reports without using Visual Studio?
what are the fundamental and common properties of .net controls?
8. Oop-Why and were we use Interfacse and Abstract class.
What is the use of web.config?