Flashcards
Sealed class and Interface
Flashcards do conjunto (1)
- 1Why Sealed Classes and Interfaces?The main purpose of the sealed class is to stop the inheritance from the user so that they can't attain attributes or behaviors from a sealed class
- Methods of sealed class is implemented so that no other class can extend it and implement its own method
- Sealed class is used to stop a class to be extended or implemented. You cannot derive any class from it.
Informações
- Descrição
- FlashCards sobre Sealed class and Interface, criado por BLU BLU em 28-01-2025.
- Criado por
- BLU BLU
- Visualizações
- 0
- Avaliação