Professional Documents
Culture Documents
-If a method is declared as abstract in a class the implementaion of the method has
to be given by its child class which is mandatory for the child using the
"override" modifier.
Note: If these abstract methods were defined for u under a class that class is
known as an abstract which should be declared using the "abstract" modifier.
eg:
abstract class AbsDemo
{
public abstract void Add();
}
-An abstract class is never useful for itself, it can be consumed only it's child
after implementing the abstract methods in it, the reason why it is not useful for
it self is the object of an abstract class cannot be created using the "new"
operator.