Is it possible to seal a class constructor method
Mostrar comentarios más antiguos
I want to create a base class with a sealed constructor method, but even if I add Sealed to the method attributes of the methods block where the contructor is defined, MAATLAB allows me to override the class constructor in a subclass. I did not find any description of this in the documentation, but is this intended behavior, and is there no way to seal a class constructor?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Assembly en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!