- Interface is a 100% abstraction.
- Interface can only declare constants and instance methods.
- All member variables in interface are final and static by default.
- All the methods in an interface are "public and abstract" by default.
- Interface cannot be instantiated.
- Interface without methods is called null interface.
Note: Abstraction - Show only the essential features without knowing the background details.
No comments:
Post a Comment