are classes are final by default in apex
Methods and classes are final by default. You cannot use the final keyword in the declaration of a class or method.
This means they cannot be overridden. Use the virtual keyword if you need to override a method or class.