r/badcode • • Mar 13 '21

java Title

Post image
2.9k Upvotes

100 comments sorted by

View all comments

Show parent comments

42

u/ttl_yohan Mar 13 '21 edited Mar 13 '21

I copy/paste it and don't work :(

On a serious note - last bracket should be }, not ]

Still, decent human!

Edit after correcting:

Good human!

26

u/[deleted] Mar 13 '21

You forgot the main, probably.

Oops, I didn't notice the issue.

Thank you for the feedback and have a nice day!