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

Extension Controllers

Is the Extension controller in apex is similar to Inheritance in java ? 


Not really. You can use extensions to consolidate logic from similar pages. Apex Code does implement inheritance, which allows you to create base classes that are extended by custom logic. You can use this for polymorphism. If you've used Ruby, you might liken extensions to Ruby's mixins.