ExamVeda
Login
Home
Classes and Objects in C Sharp
?

What will be the Correct statement of the following C# code?
public class maths
{
    public int x;
    public virtual void a()
    {

    }

}
public class subject : maths
{
    new public void a()
    {

    }

}

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.