Activity Forums Salesforce® Discussions Why can a regular class not be extended in Salesforce?

Tagged: 

  • madhulika shah

    Member
    August 24, 2018 at 8:11 am

    Hi Prachi,

    It's just one of two possible approaches. For example, in C# you can derive from superclass and there's no need to mark it anyhow. You can - on the other hand - mark class as sealed (equivalent to final in apex, which is default) to prevent inheritance.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos