C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
ClassesAndOOP_Lesson7 Quiz
Answer all questions to test your understanding
1
What is polymorphism in C#?
The ability to have many forms
The ability to have many classes
The ability to have many methods
The ability to have many objects
2
What is the difference between 'virtual' and 'override' in C#?
'virtual' allows a method to be overridden, 'override' replaces the method implementation
'virtual' replaces the method, 'override' allows a method to be overridden
They are the same thing
'virtual' is used for properties, 'override' is used for methods
Submit Quiz