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)
-
Beginner-Level Questions 1. What is MuleSoft, and what are its key features? Answer : MuleSoft is an integration platform that enables dev...
-
In this session/post we will learn about Integration Procedure Basics and learn about declarative server side processing in OmniStudi...
-
As a Salesforce Admin, Salesforce flows are one of the most effective ...