Loop in Java is known as a repetition, it allows the programmer to point out that an action is to be repeated while some condition remain true.
It is implemented in one of three ways:-
1. While loop
2. do/while loop
3. for loop
while loop
The while loop ...
Anamika Gupta
Sep 14, 2018