0

What is the difference between abstract and interface in java ?!

16th Dec 2016, 10:01 AM
Dalia Sharif
Dalia Sharif - avatar
2 Answers
+ 1
An abstract class contains both abstract methods and non-abstract methods. So this class in NOT a completely abstract class. An interface contains abstract methods only. So this class is a compeletely astract class.
17th Dec 2016, 3:09 AM
The PGDeveloper
The PGDeveloper - avatar
0
Thank you :)
26th Oct 2017, 2:17 PM
Dalia Sharif
Dalia Sharif - avatar