What if java did not have abstract classes ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What if java did not have abstract classes ?

13th Aug 2020, 5:11 PM
Prabhat
Prabhat - avatar
2 Antworten
+ 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