Apex inheritance – Extending managed package abstract/virtual classes & interfaces !

In my recent project, I came across a requirement to create a base class in a managed package with child extension packages would extend to add their value to it.

Before starting the actual work, I thought of googling about experiences of force.com community members about the same. Interestingly I found one relevant link only i.e. this force.com discussion board question. I became doubtful about this working after reading this post, so thought of giving a quick try, before doing it for our customers.

Read More: https://abhinav.fyi/apex-inheritance-extending-managed-package-abstract-virtual-classes-interfaces/

Abhinav Gupta

First Indian Salesforce MVP, rewarded Eight times in a row, has been blogging about Salesforce, Cloud, AI, & Web3 since 2011. Founded 1st Salesforce Dreamin event in India, called “Jaipur Dev Fest”. A seasoned speaker at Dreamforce, Dreamin events, & local meets. Author of many popular GitHub repos featured in official Salesforce blogs, newsletters, and books.

https://abhinav.fyi
Previous
Previous

JSON parsing in Apex, a developer’s nightmare :( Winter’12 release I badly need you !

Next
Next

Apex inheritance – Extending managed package abstract/virtual classes & interfaces !