What is loop ??In programming (for loop ,while loop,do while loop)..and How does it work ??
loop you can say one task can perform many times like a sport man moving in a ground many times
and a athletes run in a ground many times...
that is called looping ....
In programming language loop are three types i.e (for loop ,while loop,do while loop )
for loop while loop and do while loop same work but it is used according to condition ...
for loop is efficient than any other loop ....
so I recommend you that use for loop and foreach loop
we will talk about later a special loop in java programming
that is for each loop
if you want to know more about (for loop,while loop,do while loop,,for each loop)....
then click on the link below and it will redirect to Youtube page..
No comments:
Post a Comment