r/javahelp • • Aug 09 '22

what does for(;;) mean?

Just like the title asks, what does for(;;) mean? A double semicolon in a for loop, I found it in some code I'm trying to understand and Google can't seem to answer my question. Thanks!

17 Upvotes

14 comments sorted by

View all comments

8

u/knoam Aug 09 '22

I've heard that called a dracula loop because it looks like a vampire with fangs.

2

u/Encryp73r Aug 09 '22

Forever be it's name for me now thanks hah