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_Lesson6 Quiz
Answer all questions to test your understanding
1
What is inheritance in C#?
A class inheriting properties and methods from another class
A class inheriting from multiple classes
A class inheriting from an interface
A method inheriting from another method
2
Which keyword is used to call a base class constructor in C#?
base
this
super
parent
3
What is the purpose of the 'sealed' keyword in C#?
To prevent a class from being inherited
To prevent a method from being overridden
To make a class abstract
To make a method virtual
Submit Quiz