What the abstrac final class mean?

Alex sascha.orlov at gmail.com
Mon Aug 12 09:16:19 UTC 2019


On Monday, 12 August 2019 at 08:54:56 UTC, lili wrote:
> Hi:
>     Why need defined an abstract final class?
>     see  
> https://github.com/Rikarin/Trinix/blob/master/Kernel/arch/amd64/gdt.d

 From what I saw, all members are static. So, this is a kind of 
utility class, which is not supposed to be instantiated, nor to 
be derived from. Maybe, it serves like a namespace, for 
convenience...


More information about the Digitalmars-d-learn mailing list