How can i Set up work to do in per second with Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can i Set up work to do in per second with Java

I want import my contacts (1400 people in txt file)to telegram app with Java Programming first I need add the list of numbers to contacts and add contacts to telegram .....how can I do that.? I need send a message to everyone and once in per second.... How can i Set up work to do in per second with Java?

17th Sep 2017, 7:39 PM
‏‪ava‬‏
‏‪ava‬‏ - avatar
1 Answer
+ 8
You could put the action you want to perform to a Timer to call for example a method every second.
23rd Sep 2017, 8:12 AM
Tashi N
Tashi N - avatar