What if java did not have abstract classes ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What if java did not have abstract classes ?

13th Aug 2020, 5:11 PM
Prabhat
Prabhat - avatar
2 Answers
+ 4
Then only very few of all existing Java software would still run...
13th Aug 2020, 10:55 PM
Sandra Meyer
Sandra Meyer - avatar
+ 1
there is a similar solution: interface, also you can use a normal class with empty methods. But abstract class can not be instantiated.
14th Aug 2020, 1:58 AM
zemiak