+ 1

What the uses of loop of our application

any on Tell me what the uses of loop in our application

24th Sep 2016, 8:14 AM
Adarsh Satyam
Adarsh Satyam - avatar
6 Antworten
+ 2
we use loop when need to do something repeatedly. e.g. if you want to say "hi" ten times. for(int i = 0; i < 10; i++){ System.out.println("hi"); }
24th Sep 2016, 8:28 AM
WPimpong
WPimpong - avatar
+ 1
If you want to make a client application that repeadetly checks for updates on a server. You could use a loop.
30th Dec 2017, 7:54 AM
Rik
Rik - avatar
0
can you show repeating application
24th Sep 2016, 2:50 PM
Adarsh Satyam
Adarsh Satyam - avatar
0
why ' hi' ten time
24th Sep 2016, 2:51 PM
Adarsh Satyam
Adarsh Satyam - avatar
0
one value or any one repeatedly printing you are using loops
24th Sep 2016, 6:20 PM
srilekha
0
If you want to print table of any number just like "2" then 2 * 1 = 2 in this statment "table number", * and = sign repeat 10 times so we can use this statment in loop like this Int table = 2; Int table_limit = 10; For( int i=1; i<=table_limit ; i++) And then print the table statement like 2 * i = 2*i
24th Sep 2016, 7:22 PM
Has Xan
Has Xan - avatar