function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ckempckemp 

Abstract classes in AppExchange apps

Hello,

On p. 71 of the Apex Developer's Guide, it says that "abstract and virtual [class modifiers] are not enabled for all organizations.  If you need them for your application, contact your salesforce.com rep."  I'm making an AppExchange app that will be using an abstract class, but now I'm worried that my app won't work "out of the box" for other organizations because they'll need to turn this feature on first.

Does anyone have any experience with this?  Is this a big problem?  It seems sort of silly to not have the ability to use abstract class modifiers on by default as it only encourages bad OO design and I can't fathom why disabling these modifiers would be of any advantage to Salesforce.