Chapter Quiz: Object-Oriented Programming (OOP) in C#

Object-Oriented Programming

Complete this assessment with 100% score to master this chapter.

01Which SOLID principle states that a class should be open for extension but closed for modification?

02What is the difference between an Abstract class and an Interface?

03Which keyword is used in a derived class to provide a new implementation for a 'virtual' method?

04What does the Liskov Substitution Principle (LSP) imply?

05Which keyword prevents a class from being inherited by others?