• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in C Sharp by
Q:
Explain sealed class in C#?

1 Answer

0 votes
by

Sealed class is used to prevent the class from being inherited from other classes. So “sealed” modifier also can be used with methods to avoid the methods to override in the child classes.

Related questions

+1 vote
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
asked Feb 16, 2020 in C Sharp by rahuljain1
...