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 the difference between joining and blending in Tableau?
What FSMO placement considerations do you know of?
tell the function of Source record of DNS server. why we create Stub zone? Tell Round Robing also?
what is the procedure to make a system stable if it is being repeatedly restart now and then saying RPC service failure?
How do you configure a "stand-by operation master" for any of the roles?
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
What is Domain Hosting?
i want mcp 290 latest dumps and ccna dumps plse help me can tell me website i will download dump plse give reply
4 Answers 3G Cell Labs, HCL, HP, TCS, Vcustomer, Wipro,
What is application server and Web server? Difference between Application server and Web Server? give example of both?
What is forest?
hi my name is raghu im a fresher for this mcse n i wud like to take on the mcse 2008 what are the exams i have to take to become mcse on windows 2008 server
what is thinclient? why we use? and how to install thinclient? basic requirement?