Hi
I have create a class that inherits from an abstract class.
This class has a number of abstract methods in it.
I do not want to override all of the abstract methods.
Is there any way that I can get around this.
Cheers
Printable View
Hi
I have create a class that inherits from an abstract class.
This class has a number of abstract methods in it.
I do not want to override all of the abstract methods.
Is there any way that I can get around this.
Cheers
Have you read the help topic on abstract methods?You can make the method body empty but that is a hack. If you don't want to provide the functionality that the base class demands then you shouldn't be inheriting from that base class.Quote:
An abstract method declaration introduces a new virtual method but does not provide an implementation of that method. Instead, non-abstract derived classes are required to provide their own implementation by overriding that method.