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.
+ 1
abstract class has abtract methods without body, but can have some non-abstract methods with body too