Constructor necessity on Subclass | Sololearn: Learn to code for FREE!
+ 1

Constructor necessity on Subclass

Just curious I created a superclass which has 2 private variables. When i created the sublass, it says i must create another constructor inside the subclass. But why?

4th Mar 2021, 6:46 AM
M.O.HONOR
M.O.HONOR - avatar
0 Réponse