+ 1

Difference between Interface and an abstract classe??

Top 2 differences

13th Oct 2019, 4:43 PM
Sai Sathvik Ruppa
Sai Sathvik Ruppa - avatar
3 odpowiedzi
+ 4
1. In abstract class if we define any variable or method than we mark abstract in there declaration But In the interface is internally abstract declared . 2 . Abstract class can extends another java class and implements multiple interface But Interface only implements interface
13th Oct 2019, 5:21 PM
Prathvi
Prathvi - avatar
- 1
Abstract clases can implement method and can be overridden, interface - can't. + Hello_World info
13th Oct 2019, 6:50 PM
id001x
id001x - avatar