Java hidden feature 🔥 I want to tell you a feature that not many people know about, you can use labels to control nested loops. For example, if you are using 2 loops, you can jump to the first one, it is very logical. For this, you give a name to the loops, you can give it any name you want, I gave outer, then you put : and then put loop. Which other languages have such a feature, if there is one in other programming, please share it. #Java #SpringBoot #BackendDevelopment #JavaDeveloper #SoftwareEngineer #Coding #Loop
NIce ! Keep going bro
I think C++ has. # years ago I have seen this feature and used
I also saw this in JS
These are called labels in Java, to affect control flow as and when needed.