wait tag

5 questions


1 answers
150 views
0
What is the difference between wait() and sleep()?

What is the difference between wait() and sleep()


1 answers
165 views
0
Why is the wait() method always in the synchronized block?

Object.Everyone knows that the method must be in the synchronized block to generate the wait()method. Otherwise, IllegalMonitorStateException will occur. Why are these restrictions? I know that the wa...


2 answers
157 views
0
Ajax, I have a question.

jquery-1.8.2.min.js:2 GET http://localhost:8080/api/trmnlInfoColctToFile.do?imei=A2&phoneSerial=testS…=lte&androidVersion=1.1&swVersion=aa_f10_1212&extra=extra1&_=1461227407494 net...


1 answers
139 views
0
How do I stop the program until I get input?

Press any key to exit...You want to paste a code that ends after you receive a keyboard input (whatever) at the end of the program.In C, we could have gotten a character type through scanfIf I use inp...

2 years ago

1 answers
103 views
0
Async/await question!

const makeRequest = async () => { const value1 = await promise1(); const value2 = await promise2(value1);};makeRequest();// // do other worksI think it's a basic question, but I'm leaving a message...


© 2024 OneMinuteCode. All rights reserved.