I want this code to print individual characters every milisecond to produce a typing effect. Can anyone tell me how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I want this code to print individual characters every milisecond to produce a typing effect. Can anyone tell me how?

I put in thread.sleep(); "Some error occurred." https://code.sololearn.com/cIwMb8noNpOJ/?ref=app

17th Mar 2019, 10:12 AM
Mark V Zephyrus
Mark V Zephyrus - avatar
2 Answers
+ 2
Code Playground doesn't provide a live console, so I don't think that is going to work either way. I'm not sure if anything is wrong with the code, just letting you know.
17th Mar 2019, 10:44 AM
Fermi
Fermi - avatar
+ 1
I noticed that. I was thinking maybe I could use java.text package. Like C# DateTime.
17th Mar 2019, 10:48 AM
Mark V Zephyrus
Mark V Zephyrus - avatar