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
Sumit Kumar Singh 9Sumit Kumar Singh 9 

hen I should use 'Interface' and when should I 'Abstract Class'.

Hello Experts, 
Can anyone pls tell me the scenario when I should use 'Interface' and when should I 'Abstract Class'. 
Actually, I googled a lot, but still not clear to me.
I don't want the code, please let me know the key factors which decides when to use Interface and when to use Abstract Class.
Thanks in advance.
Best Answer chosen by Sumit Kumar Singh 9
DebadyutiDebadyuti
Hi Sumit,


  Hope this links will help you :

 http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/
 https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_interfaces.htm