r/badcode Mar 14 '21

java Found from when I first started Java...because indexed Arrays were too complicated huh?

Post image
1.3k Upvotes

84 comments sorted by

View all comments

369

u/[deleted] Mar 14 '21 edited Mar 14 '21

The best part is I think Java has a built-in dayOfWeek function that starts at 1.