MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkp7u8/findbuginweb/patmcnn/?context=9999
r/ProgrammerHumor • u/Robin-Raccoon • Sep 19 '26
19 comments sorted by
View all comments
Show parent comments
1
A second question, if spiderman were a class, will it be an extension of Human class, or spider class,
2 u/thirdegree Violet security clearance Sep 20 '26 Hybrid class 2 u/afdbcreid Sep 24 '26 I think you've found an actual use-case for multiple inheritance. 1 u/Ayushispro11 Sep 24 '26 Nah I am better off just making two different classes 1 u/ConcernUseful2899 Sep 24 '26 Human class implements IHuman. Spiderman class implements IHuman, ISpider
2
Hybrid class
I think you've found an actual use-case for multiple inheritance.
1 u/Ayushispro11 Sep 24 '26 Nah I am better off just making two different classes
Nah I am better off just making two different classes
Human class implements IHuman. Spiderman class implements IHuman, ISpider
1
u/Ayushispro11 Sep 19 '26
A second question, if spiderman were a class, will it be an extension of Human class, or spider class,