+ Start a Discussion
sfdcksfdck 

Extension Controllers

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

sfdcfoxsfdcfox

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.