Answer Posted / satya
let me explain clearly,,,, suppose there is a class called
A(base class)and it has a method Print(). now I am
implementing heirarchical inheritance and derived classes
are B, C and D. now in three derived classes that print() is
there. now the problem is form which class (from derived
classes for first class A) i have to take print() ?
If signature is same then no problem, if it differs what is
the result?
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is instantiating a class in c#?
Which program construct must return a value?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
What is the default value of decimal in c#?
What is expression tree with example?
What is orm in c#?
What is javascriptserializer c#?
Why do we use generics in c#?
Can bool be null c#?
Can abstract classes be final?
What are functions c#?
Explain the difference between class and interface in .net?
Compare and contrast between the System.Array.CopyTo() and Clone()?
Explain the types of assemblies in .net?
What is a hashset c#?