0

Can someone please factorize these 2 classes with an abstract class ? And changing them accordingly?

https://code.sololearn.com/cX7NtT6i2a6z/?ref=app

16th Dec 2019, 8:17 PM
AdL
2 Réponses
0
I just wanted to see if someone would have done the same than me, see, what do you think? https://code.sololearn.com/cVwDNgPIdMxf/?ref=app
16th Dec 2019, 9:48 PM
AdL
0
Okay thanks. The toString methid is to overriden in both concrete classes or in the abstract class ?
16th Dec 2019, 10:00 PM
AdL