how to exit a while true loop java 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;
}
}