Total Answers and Comments: 3
Last Update: July 01, 2008 Asked by: Raj_Kumar12
Submitted by : whirlpool When an abstract class inherits a virtual method from a base class, the abstract class can override the virtual method with an abstract method. Answer is True.Above answer was rated as good by the following members: mahmood pasha
December 03, 2007 13:09:14 #1
SoCalBruce
Member Since: December 2007 Contribution: 2
RE: Abstract classes and virtual methods An abstract class can ONLY be overridden by a virtual method. If the method is not virtual then the abstract method is "hidden".
The "override" also means the member is virtual. For example Derived.Method is a virtual method:
public abstract class Base public abstract void Method ( ); public class Derived : Base public override void Method ( ) Is this answer useful? Yes | No
Go To Top