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 |
tell the function of Source record of DNS server. why we create Stub zone? Tell Round Robing also?
What are the GPC and the GPT? Where can I find them?
What are the Support Tools? Why do I need them?
what is the process to check server health
what are basic certification courses in computer?
What is the Global Catalog?
Why can't you restore a DC that was backed up 4 months ago?
What is the KCC?
What is Active Directory Domains & Trust?
Can you abale to create user account in AD without e-mail address?
How do you restore Active Directory?
• What are sites? What are they used for? • What's the difference between a site link's schedule and interval? • What is the KCC? • What is the ISTG? Who has that role by default? • What are the requirements for installing AD on a new server? • What can you do to promote a server to DC if you're in a remote location with slow WAN link?
3 Answers ITC Infotech, Wipro,