Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
in the abstract classes you define the methods but not initialize them. like you created a method call but do not define the body of call method. you can define them later once you implement abstract class in another class.
5th Sep 2019, 11:35 AM
Gurvinder Singh Maanak
Gurvinder Singh Maanak - avatar
+ 1
abstract class has abtract methods without body, but can have some non-abstract methods with body too
5th Sep 2019, 12:28 PM
zemiak