What happens when the below code is executed?
abstract class Shape
{
public abstract void draw();
}
class Rectangle: Shape
{
public override void draw();
//Some more member functions.....
}
class CCheck
{
public static void Main()
{
Shape objShape;
}
}
Correct Answer: Defining the body of the draw() method in class Rectangle would let the class compile
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions