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 |
Hi, I want to do asp.net certification. So please guide me how i can proceed.
friend i have some question plz help me out 1 how hash function works on router 2 what is diffrence between broad cast doman and collison doman 3 what is the difference between L3 Switch and Router, If they Perform the same function why we need both of them?
Where is the AD database held? What other folders are related to AD?
What is Micro soft?
How do you view replication properties for AD partitions and DCs?
How to solve problem of Blank screen in laptop within 5 minutes. everything is running fine in my laptop but screen is blank even i remove RAM & Insert again in RAM slot & also try to battery same as but problem is as it is Plz give me answer if you know
How many HDD we can connect to one system
what is the difference between MCP,MCSA and MCSE a brief description?
HOW TO USE FSMO ROLES IN FOREST.. MEANS IF WE HAVE A THREE DOAMINS IN FOREST .....THEY R HYD.COM(FIRST ONE....PRIMARY DOMAIN IN THE FOREST),BANG.COM (SECOND DOMAIN),CSD.COM(THIRD DOMAIN). I WANT TO IMPLEMENT FSMO ROLES IN THIRD DOMAIN HOW TO IMPLEMENT IT ...MEANS HOW TO CONNECT WITH DOAMIN AND WHAT ROLES WE IMPLEMENT..
You work as the application developer at Certkiller .com. You need to modify the code of an application. The application uses two threads named thread A and thread B. You want thread B to complete executing before thread A starts executing. How will you accomplish the task?
what is thinclient? why we use? and how to install thinclient? basic requirement?
which location AD restore mode password stored?