Categories

Jun 25, 2019 in Dot Net

Q:

What are sealed classes in C#?

1 Answer

Jun 25, 2019

We create sealed classes when we want to restrict the class to be inherited. Sealed modifier used to prevent derivation from a class. If we forcefully specify a sealed class as base class then a compile-time error occurs.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Jun 25, 2019 in Dot Net
Jun 25, 2019 in Dot Net
Jun 25, 2019 in Dot Net
...