What are similarities between interfaces and class?
Answers
Answered by
2
Answer:
The similarities are:Both can contain variables and methods (class methods have implementation code whereas the interface methods can only have declarations) .Both be inherited using Inheritance (extends keyword for classes and implements keyword for interfaces)please mark as brainliest
Similar questions