This For Loop Will NEVER End 😈
This For Loop Will NEVER End 😈
--
This is not a normal loop 😳
In this Java code, there is no initialization, no condition, and no update…
yet it keeps running forever 🤯
👉 That means this loop will never stop on its own
👉 It behaves exactly like while(true)
Most developers ignore this… but it can literally hang your program 😈
💬 Now your turn:
How will you stop this loop without using break? 👇
(ChatGPT se mat puchna 😏)
---
#Java
#Programming
#Coding
#Developers
#LearnToCode
Comments
Comments from the original post on Instagram
No comments yet
