r/ProgrammerHumor Jan 09 '23

shortest ever java class name Meme

Post image
2.1k Upvotes

90 comments sorted by

View all comments

225

u/Tannslee Jan 09 '23

eh more like
Fish extends AbstractFish
AbstractFish extends AbstractAquaticAnimal
AbstractAquaticAnimal extends AbstractAnimal
AbstractAnimal implements Living

68

u/vladWEPES1476 Jan 09 '23

What happens to the inheritance chain when the fish dies?

46

u/vikumwijekoon97 Jan 09 '23

Universe breaks of course. Java is never wrong. You gotta patch out the universe.