How can I override blocking of inheritance?
Answer / maniprakash snstech at covai y
if you want to override the block of method form base class
you must use the method in base class as virtual and use the
method in sub class in override..
like an example:
class A //base class
{
public virtual void add()
{
// some operations...
}
}
class B : A //derived class from base class
{
public override void add()
{
//
}
}
If you call the method add() it should execute the derived
class method only not execute the base class add() method..
base class add() was blocked or hidden..
| Is This Answer Correct ? | 3 Yes | 2 No |
What is tombstone lifetime attribute?
which jumper lets the IDE Cable decide the configuration for IDE devices?
what is the procedure to make a system stable if it is being repeatedly restart now and then saying RPC service failure?
What FSMO placement considerations do you know of?
What are GPO links? What special things can I do to them?
what is the difference between 32 bit os and 64 bit os
Which is best insistute to learn IIS 6.0 and 7.0
How do you view all the GCs in the forest?
What is the function of Domain Partition?
What is Web Hosting?
How I Should get Microsoft Certification
Differences Between FAT/NTFS?