+ 2
What is the difference between abstract class and interface?
2 ответов
+ 10
interface is fully abstract class, all methods in interface are abstract and interface can't have fields. Abstract class can have fields and non - abstract methods. Class can extends one class but more interfaces