break while code example
Example: java how to exit loop
//how to exit loop in java
while (true) {
if (obj == null) {
break;
}
}
//how to exit loop in java
while (true) {
if (obj == null) {
break;
}
}