Question:
Why do we need Abstract classes ?
Author: Lock HuynhAnswer:
Abstract classes are used to define a common base with shared methods and properties that derived classes can implement. They provide a template and enforce that certain methods must be implemented by subclasses.
0 / 5 Â (0 ratings)
1 answer(s) in total