Difference between abstract class and Interface | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
2nd Oct 2017, 9:38 AM
Rushikesh Chaudhari
Rushikesh Chaudhari - avatar
3 Answers
0
1) astract class contain abstract method or may not contain abstract method but object creation is not allowed. 2) if you declared at least one abstract method then you also include your class as abstract class.. 3) abstract class content normal method also.. interface is pure abstract class, in here you cant declared object creation. but normal method is not allowed
2nd Oct 2017, 10:24 AM
meherDev
meherDev - avatar
0
in YouTube, search java by Ratan.. best teacher for java... learn from zero to hero
2nd Oct 2017, 10:25 AM
meherDev
meherDev - avatar
0
Can you remove the tag C please ? C has no abstract things :/
3rd Oct 2017, 7:18 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar