You are employed as a developer at Skillgun.com. You make use of C# and ASP.NET for development purposes.You are in the process of creating a class that makes use of a method using the virtual modifier. Which of the following is TRUE with regards to the virtual modifier?
A. You are unable to make use of the virtual modifier with the static, abstract, private or override modifiers.
B. You are able to make use of the virtual modifier with the static, abstract, private or override modifiers.
C. The use of the virtual modifier prevents inheritance of the class.
D. The virtual modifier is used in a class declaration to indicate that a class is intended only to be a base class of other classes.
A&B are correct.
A,B&C are correct
A alone is correct.
All the statements are correct.
Back To Top