+ 2

What is the difference between abstract class and interface?

9th Dec 2017, 1:41 PM
pavithra paramesh
pavithra paramesh - avatar
1 Réponse
+ 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
9th Dec 2017, 1:46 PM
Vukan
Vukan - avatar