r/badcode • • Jul 09 '20

java Good practice: Always call java.lang.Object's constructor

Post image
704 Upvotes

52 comments sorted by

View all comments

3

u/Akangka Jul 09 '20

Of course, this protect the code from the cases that Java devs want to add a funky code to the Object's constructor. /s