Computer Science, asked by vineetmhp64901, 9 months ago

What are similarities between interfaces and class?

Answers

Answered by rajibsubarnas
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