Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# Intermediate C# Polymorphism Override vs New

Manuel Gapp
Manuel Gapp
8,820 Points

About a question in the follow-up quiz.

Hello, in the quiz after this video the following question is getting asked: Can subclasses override non-virtual methods?

The answer "No" is accepted as correct. But what about an abstract method, which is "non-virtual" and can indeed be overridden?

Or is there some language-finesse I didn't get :-)

Best, Manuel

1 Answer

Steven Parker
Steven Parker
229,786 Points

It might not be accurate to say an abstract method can be overridden, it's probably more correct to say that it must be overridden.

But regarding the wording of this question, I don't think the concept of abstract methods has been introduced at this point in the course, so while you are essentially correct, I don't think the question was intended to include them.