Interface
|
Abstract Class
|
Declare with keyword Interface
|
Declare with keyword Abstract
|
It will not contain constructor
|
It may or may not contain constructor
|
By default all methods are public abstract methods.
|
It contains abstract methods and non abstract methods.
|
It contains only final variables
|
It contains final variables and instance variables
|
We can implement multiple interfaces
|
We can inherit only one abstract class
|
Sunday, December 18, 2022
Difference between Interface and Abstract Class
Subscribe to:
Post Comments (Atom)
Understanding Wire vs Imperative Apex Method Calls in Salesforce Lightning Web Components (LWC)
Understanding Wire vs Imperative Apex Method Calls in Salesforce Lightning Web Components (LWC) Introduction: Salesforce Lightning Web ...
-
Tableau Server is designed in a way to connect many data tiers. It can connect clients from desktop, mobile, and web. Tableau Desk...
-
Salesforce Marketing Cloud is a powerful marketing platform that provides multiple tools to manage marketing strategies and campaigns wit...
-
What is Performance Testing? Performance Testing is a software testing process used for testing the speed, response time, stabil...