How is this different from simply creating the behavior in the class itself? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How is this different from simply creating the behavior in the class itself?

I feel like I might be missing something, so please forgive me if I am, but I don't understand the purpose of an abstract class or method when you can simply create the class and method in the first place?

4th Dec 2016, 2:43 AM
Skyler Joe Boles
Skyler Joe Boles - avatar
1 Answer
0
abstract class are used to verify that the deriven class MUST implements the abstract function declared before
4th Dec 2016, 4:51 AM
Dwiki Nurkurniawan
Dwiki Nurkurniawan - avatar