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 thinclient? why we use? and how to install thinclient? basic requirement?
primary & secondary storages are 2 main type of storage
You work as the application developer at Certkiller .com. To get information on a specific method named myMethod, you use Reflection. You need to find out if myMethod can be accessed from a derived class. Which of the following properties should you call from the myMethod class?
I am unable to access other Pc within network without domain. when i am doing to access other Pc within lan like //192.168.1.11 it gives error message like "the network location cannot reached.For information about network troubleshooting, see windows help" what is the solution?
I want to clear the mcse in 2007. So could i get the latest dump of msce questions?
Why to make DNS server? If a Client accessing the internet have or not connected with DNS server.
What is Server OS? What is Domain Controler?
What Is The Function of Configuration Partition?
does computer certificate from school works in bank po's qualifications
How do you create a new application partition
Name some GPO settings in the computer and user parts.
What is Site?