Fichas
Sealed class and Interface
Fichas del 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.
Información
- Descripción
- Fichas sobre Sealed class and Interface, creado por BLU BLU el 28/01/2025.
- Creado por
- BLU BLU
- Visitas
- 0
- Valoración